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
}
}