diff options
| author | sostler <sbostler@gmail.com> | 2010-01-08 01:49:00 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-01-08 01:49:00 -0500 |
| commit | 2dd09cf9dc957d3660744d49d3f8e905d0ce927a (patch) | |
| tree | 2309271f8d9ce241a8afbae1ff21b73fc8381983 /src | |
| parent | ea76760f2b6a4500167b6547b4aa4b45c4d92861 (diff) | |
Added analytics
Diffstat (limited to 'src')
| -rwxr-xr-x | src/site.clj | 1 |
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)) |
