bugfix trim
This commit is contained in:
1 parent
077e9391f2
commit
93b1aeedaa
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ function check_asn($ip, $asns, $whois_server, $port){
|
|||||||
$response = explode(" | ", $response[1]);
|
$response = explode(" | ", $response[1]);
|
||||||
|
|
||||||
foreach ($asns as $asn){
|
foreach ($asns as $asn){
|
||||||
if ($asn == $response[0]){
|
if ($asn == trim($response[0])){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user