projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b4929d2
)
fixed small burst parsing bug
author
pk910
<philipp@zoelle1.de>
Mon, 1 Aug 2011 18:47:03 +0000
(20:47 +0200)
committer
pk910
<philipp@zoelle1.de>
Mon, 1 Aug 2011 18:47:03 +0000
(20:47 +0200)
Uplink/Uplink.class.php
patch
|
blob
|
history
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];
+ 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);