fixed P10_Channel.class.php checkChannel()
authorpk910 <philipp@zoelle1.de>
Thu, 28 Jul 2011 01:41:54 +0000 (03:41 +0200)
committerpk910 <philipp@zoelle1.de>
Thu, 28 Jul 2011 01:41:54 +0000 (03:41 +0200)
Uplink/P10_Channel.class.php

index bc8c152f690d086ca9dd36c634643296d14655d8..e373d55c75b3988acaa90f530b37a3d3ac02c825 100644 (file)
@@ -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
                }
        }