diff options
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)) |
