]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/tcp/class_
Made lower to upper case:
[hub.git] / application / hub / main / listener / tcp / class_
index 512976016602cf1c5c147b477c717c9228b0bc67..9324cf1fcdbf5688b9ea1c9208718368b3ed5d18 100644 (file)
@@ -46,7 +46,7 @@ while (count($clients) > 0) {
                $data = @socket_read($read_sock, 1024, PHP_NORMAL_READ);
 
                // check if the client is disconnected
-               if (($data === false) || (in_array(strtolower(trim($data)), $leaving))) {
+               if (($data === FALSE) || (in_array(strtolower(trim($data)), $leaving))) {
 
                        // remove client for $clients array
                        $key = array_search($read_sock, $clients);