From: pk910 Date: Thu, 28 Jul 2011 01:41:54 +0000 (+0200) Subject: fixed P10_Channel.class.php checkChannel() X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=db1190e9fd749fbf6221838845150f0a7b3bba92;hp=5c6c3365d28144516f0ade183189b256d8de03bc fixed P10_Channel.class.php checkChannel() --- diff --git a/Uplink/P10_Channel.class.php b/Uplink/P10_Channel.class.php index bc8c152..e373d55 100644 --- a/Uplink/P10_Channel.class.php +++ b/Uplink/P10_Channel.class.php @@ -114,7 +114,7 @@ class P10_Channel { private function checkChannel() { if(count($this->users) == 0 && !$this->modes->hasMode('z')) { - unset(self::$static_channels[strtolower($name)]); //drop empty channel + unset(self::$static_channels[strtolower($this->name)]); //drop empty channel } }