diff --git a/public/chat/lib/class/CustomAJAXChat.php b/public/chat/lib/class/CustomAJAXChat.php index 2cd33a3..8a073a1 100644 --- a/public/chat/lib/class/CustomAJAXChat.php +++ b/public/chat/lib/class/CustomAJAXChat.php @@ -228,7 +228,10 @@ class CustomAJAXChat extends AJAXChat { foreach($result as $channel) { $channels[$channel['id']] = $channel['name']; }*/ - + + if($this->isLoggedIn()) + $channels[9001] = 'Secret'; + return $channels; }