]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/network/tcp/class_
Updated 'core'.
[hub.git] / application / hub / main / handler / network / tcp / class_
index 9681823326a5932faa2402ce5dee0fd13411f322..96b146f9ff0bea4b3d122037aa39ee5ebe39f0e2 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);
@@ -138,7 +138,7 @@ socket_close($mainSocket);
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *