X-Git-Url: https://git.mxchange.org/?p=hub.git;a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fhandler%2Fnetwork%2Ftcp%2Fclass_;h=96b146f9ff0bea4b3d122037aa39ee5ebe39f0e2;hp=9681823326a5932faa2402ce5dee0fd13411f322;hb=73aff29b9bc78031853b0b8c0fe0a8e04f66ac29;hpb=08f962e1f02df357f5554413357952faf33fe210 diff --git a/application/hub/main/handler/network/tcp/class_ b/application/hub/main/handler/network/tcp/class_ index 968182332..96b146f9f 100644 --- a/application/hub/main/handler/network/tcp/class_ +++ b/application/hub/main/handler/network/tcp/class_ @@ -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 * @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 *