bugfix trim

This commit is contained in:
cynic 2024-10-11 17:29:47 -04:00
parent 077e9391f2
commit 93b1aeedaa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }