From a69801b5f548c2cb4bd4d4abf72a589f06da235c Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 25 Sep 2022 04:08:22 +0000 Subject: [PATCH] Fixed weird bullshit. --- public/whois/whois-php/src/Whois/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/whois/whois-php/src/Whois/Client.php b/public/whois/whois-php/src/Whois/Client.php index 26c8282..92bd951 100644 --- a/public/whois/whois-php/src/Whois/Client.php +++ b/public/whois/whois-php/src/Whois/Client.php @@ -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]);