diff --git a/app/Classes/Sock/SocketClient.php b/app/Classes/Sock/SocketClient.php index e93e76f..77a5887 100644 --- a/app/Classes/Sock/SocketClient.php +++ b/app/Classes/Sock/SocketClient.php @@ -63,7 +63,7 @@ final class SocketClient { if (($x=$this->read(5,6)) === 'PROXY ') $vers = 1; - elseif (($x === "\x0d\x0a\x0d\x0a\x00\x0d") && ($this->read('5,6') === "\x0aQUIT\x0a")) + elseif (($x === "\x0d\x0a\x0d\x0a\x00\x0d") && ($this->read(5,6) === "\x0aQUIT\x0a")) $vers = 2; else @@ -623,4 +623,4 @@ final class SocketClient { return $this->socketSelect($read,$write,NULL,$timeout); } -} +} \ No newline at end of file