From f0232c84fbb0e900831c42b3b65df17d69bd2f0c Mon Sep 17 00:00:00 2001 From: defacer Date: Mon, 23 Aug 2004 15:03:26 +0000 Subject: [PATCH] More goodness! Goodness is on discount here in Greece! :P --- mod/chat/chatd.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mod/chat/chatd.php b/mod/chat/chatd.php index ebdeb9f5e6..8a315a2596 100755 --- a/mod/chat/chatd.php +++ b/mod/chat/chatd.php @@ -112,7 +112,7 @@ class ChatDaemon { ob_start(); echo ''; echo ''; echo ''; @@ -152,7 +151,7 @@ class ChatDaemon { echo '
'; // About 2K of HTML comments to force browsers to render the HTML - echo $GLOBALS['CHAT_DUMMY_DATA']; + // echo $GLOBALS['CHAT_DUMMY_DATA']; echo "\n\n"; @@ -554,6 +553,9 @@ class ChatDaemon { chat_socket_write($this->conn_sets[$sessionid][CHAT_CONNECTION_CHANNEL], ''); } + // Testing for Safari + $output->html .= $GLOBALS['CHAT_DUMMY_DATA']; + if(!chat_socket_write($this->conn_sets[$sessionid][CHAT_CONNECTION_CHANNEL], $output->html)) { // Send failed! We must now disconnect/forget about the user FIRST -- 2.39.5