projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed small burst parsing bug
[PHP-P10.git]
/
Uplink
/
Uplink.class.php
diff --git
a/Uplink/Uplink.class.php
b/Uplink/Uplink.class.php
index 5e1e1ee827826973ff0db0f7fb8e2a5d5f11dce0..a5cc2eb74e710831bd2cc1d0d6e8a59cca400d11 100644
(file)
--- a/
Uplink/Uplink.class.php
+++ b/
Uplink/Uplink.class.php
@@
-407,6
+407,10
@@
class Uplink {
private function recv_burst($from, $args) {
$name = $args[0];
$create_time = $args[1];
private function recv_burst($from, $args) {
$name = $args[0];
$create_time = $args[1];
+ if(count($args) == 2) {
+ //we've got an empty channel without any modes set??? dead channel!
+ return;
+ }
$channel = P10_Channel::getChannelByName($name);
if($channel == null)
$channel = new P10_Channel($name);
$channel = P10_Channel::getChannelByName($name);
if($channel == null)
$channel = new P10_Channel($name);