Modulo:String/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Moroboshi (discussione | contributi)
funzione checkIP
Moroboshi (discussione | contributi)
fix
Riga 831:
function str.checkIP(frame)
 
local IPip = frame.args[1] or ''
 
-- check for format 1.11.111.111 for ipv4
Riga 839:
if tonumber(v) > 255 then return '' end
end
return IPip
end
 
Riga 852:
end
end
return IPip
end
return ''
end
 
 
 
--[[