X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=a5cc2eb74e710831bd2cc1d0d6e8a59cca400d11;hp=5e1e1ee827826973ff0db0f7fb8e2a5d5f11dce0;hb=e600821cfb2379771499f3bad6cf427e40af01a7;hpb=b4929d2fc7944f7b3d0efc666a2bff0cd7f821cb 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);