burst only channels we've users in
[PHP-P10.git] / Uplink / Uplink.class.php
index 22a923c2b7f381afacece9a93b985af623b05b10..041d1c6efac13850f1245c11298a82c5425403cd 100644 (file)
@@ -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.=",";