forked from lolcat/4get
bugfix trim
This commit is contained in:
@@ -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