Index: openacs-4/packages/acs-subsite/www/shared/ajax/chat.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/shared/ajax/Attic/chat.tcl,v diff -u -N -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-subsite/www/shared/ajax/chat.tcl 18 Mar 2019 16:49:58 -0000 1.1.2.1 +++ openacs-4/packages/acs-subsite/www/shared/ajax/chat.tcl 13 Jun 2019 09:03:52 -0000 1.1.2.2 @@ -36,7 +36,9 @@ subscribe - get_all { set _ [c1 $m] - ns_return 200 text/html [subst {$_}] + if {[ns_conn isconnected]} { + ns_return 200 text/html [subst {$_}] + } } default { ns_log error "--c unknown method $m called."