diff --git a/stuff/methods/functions.php b/stuff/methods/functions.php index c92f4774..f633a083 100644 --- a/stuff/methods/functions.php +++ b/stuff/methods/functions.php @@ -808,7 +808,7 @@ if (!function_exists('passwordgenerate')) { $emailregards =''; $ip = ''; $port = ''; - if(isset($server)){ + if(isset($server) && isip($server, "ip4")){ list($ip, $port) = explode(":", $server); }