X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=041d1c6efac13850f1245c11298a82c5425403cd;hb=ecbd414862800db8bb4c45dfc640c9090f80dce1;hp=22a923c2b7f381afacece9a93b985af623b05b10;hpb=22da0c012b5a82d0c6c7b20b55111995231886ae;p=PHP-P10.git diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 22a923c..041d1c6 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -681,7 +681,7 @@ class Uplink { trigger_error("Server tries to send a modechange from an user that does not exist or was not found on recv_mode.", E_USER_ERROR); return; } - $modes = implode(" ",array_slice($args,1)) + $modes = implode(" ",array_slice($args,1)); if($args[0][0] == "#") { $channel = P10_Channel::getChannelByName($args[0]); if($channel == null) @@ -730,7 +730,7 @@ class Uplink { $local_users = true; $sorted_users[$strPrivs][] = $user; } - if(!$local_users && !$channel->getModes()->hasMode("z")) continue; + if(!$local_users) continue; $userStr = ""; foreach($sorted_users['-'] as $user) { if($userStr != "") $userStr.=",";