Index: openacs-4/packages/chat/www/html-chat.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/Attic/html-chat.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/chat/www/html-chat.tcl 9 Nov 2008 23:29:23 -0000 1.4
+++ openacs-4/packages/chat/www/html-chat.tcl 17 Jun 2016 17:27:51 -0000 1.5
@@ -17,7 +17,7 @@
set richclient(msg) "[_ chat.${richclient(short)}_client_msg]"
set richclient(title) "[_ chat.[string totitle $richclient(short)]]"
-if { ($read_p == "0" && $write_p == "0") || ($ban_p == "1") || ($active == "f") } {
+if { ($read_p == 0 && $write_p == 0) || ($ban_p == 1) || ($active == "f") } {
#Display unauthorize privilege page.
ad_returnredirect unauthorized
ad_script_abort