forked from lolcat/4get
bugfix trim
This commit is contained in:
parent
077e9391f2
commit
93b1aeedaa
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue