projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed some bugs
[PHP-P10.git]
/
Uplink
/
Uplink.class.php
diff --git
a/Uplink/Uplink.class.php
b/Uplink/Uplink.class.php
index 5c86c95b6afb0d6e183892e85b9d190b63a9e9e9..cd6e49bf492e52d52914fdd98b2dd133ed7f7671 100644
(file)
--- a/
Uplink/Uplink.class.php
+++ b/
Uplink/Uplink.class.php
@@
-344,7
+344,7
@@
class Uplink {
$name = $args[0];
$create_time = $args[1];
$channel = P10_Channel::getChannelByName($name);
$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];
$channel = new P10_Channel($name);
$modes = $channel->getModes();
$userstr = $args[count($args)-1];
@@
-358,11
+358,11
@@
class Uplink {
$userstr = $args[count($args)-2];
$modeparamcount--;
}
$userstr = $args[count($args)-2];
$modeparamcount--;
}
- $users = explode("
:
",$userstr);
+ $users = explode("
,
",$userstr);
$isop = false; $isvoice = false;
foreach($users as $user) {
$uexp = explode(":", $user);
$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;
}
trigger_error("burst parse error: '".$uexp[0]."' is not an user numeric.", E_USER_ERROR);
return;
}