summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-01-08 01:49:00 -0500
committersostler <sbostler@gmail.com>2010-01-08 01:49:00 -0500
commit2dd09cf9dc957d3660744d49d3f8e905d0ce927a (patch)
tree2309271f8d9ce241a8afbae1ff21b73fc8381983 /src
parentea76760f2b6a4500167b6547b4aa4b45c4d92861 (diff)
Added analytics
Diffstat (limited to 'src')
-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))