diff --git a/template/chat.tpl b/template/chat.tpl
index bbc0830..bb1ebac 100644
--- a/template/chat.tpl
+++ b/template/chat.tpl
@@ -305,9 +305,11 @@
{foreach from=$rooms item='roomListRoom'}
- - roomID == $room->roomID} class="activeMenuItem"{/if}>
- {$roomListRoom}
-
+ {if $roomListRoom->canEnter()}
+ - roomID == $room->roomID} class="activeMenuItem"{/if}>
+ {$roomListRoom}
+
+ {/if}
{/foreach}
@@ -384,9 +386,9 @@
]);
TimWolla.WCF.Chat.config = {
- reloadTime: {CHAT_RELOADTIME},
- animations: {CHAT_ANIMATIONS},
- maxTextLength: {CHAT_LENGTH}
+ reloadTime: {CHAT_RELOADTIME},
+ animations: {CHAT_ANIMATIONS},
+ maxTextLength: {CHAT_LENGTH}
}
$('#chatInput').jCounter();