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)
$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.=",";