summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/site.clj')
-rwxr-xr-xsrc/site.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/site.clj b/src/site.clj
index f3aa9a1..2bbc2bb 100755
--- a/src/site.clj
+++ b/src/site.clj
@@ -313,6 +313,7 @@
(.setAttribute st "messages" message-list)
(.setAttribute st "roomkey" (room :key))
(.setAttribute st "isadmin" (session :is_admin))
+ (.setAttribute st "isadminroom" (room :admin_only))
(.setAttribute st "json_room_key" (json-str (room :key)))
(.setAttribute st "json_user_nick" (if nick (json-str nick) "null"))
(.setAttribute st "roomname" (room :name))