Fixed weird bullshit.

This commit is contained in:
Pachira 2022-09-25 04:08:22 +00:00
parent c9bf8adda3
commit a69801b5f5

View file

@ -109,7 +109,7 @@ class Client
preg_match("/whois server: (.*)/", strtolower($response), $matches);
// Check if it's not the same server
if (isset($matches[1]) && trim(strtolower($server)) !== trim($matches[1])) {
if (isset($matches[1]) && trim(strtolower($server)) !== trim($matches[1]) && strpos($matches[1], ':') === false) {
// Set the secondary server
$second = trim($matches[1]);