Fixed weird bullshit.
This commit is contained in:
parent
c9bf8adda3
commit
a69801b5f5
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Client
|
||||||
preg_match("/whois server: (.*)/", strtolower($response), $matches);
|
preg_match("/whois server: (.*)/", strtolower($response), $matches);
|
||||||
|
|
||||||
// Check if it's not the same server
|
// 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
|
// Set the secondary server
|
||||||
$second = trim($matches[1]);
|
$second = trim($matches[1]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue