$name = $args[0];
$create_time = $args[1];
$channel = P10_Channel::getChannelByName($name);
- if($name == null)
+ if($channel == null)
$channel = new P10_Channel($name);
$modes = $channel->getModes();
$userstr = $args[count($args)-1];
$userstr = $args[count($args)-2];
$modeparamcount--;
}
- $users = explode(":",$userstr);
+ $users = explode(",",$userstr);
$isop = false; $isvoice = false;
foreach($users as $user) {
$uexp = explode(":", $user);
- if(strlen($uexp[0]) != 6) {
+ if(strlen($uexp[0]) != 5) {
trigger_error("burst parse error: '".$uexp[0]."' is not an user numeric.", E_USER_ERROR);
return;
}