From e600821cfb2379771499f3bad6cf427e40af01a7 Mon Sep 17 00:00:00 2001 From: pk910 Date: Mon, 1 Aug 2011 20:47:03 +0200 Subject: [PATCH] fixed small burst parsing bug --- Uplink/Uplink.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 5e1e1ee..a5cc2eb 100644 --- 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); -- 2.20.1