- cl_text[0] = 0;
- cl_text_len = 0;
- while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
- safestrncpy(&cl_text[cl_text_len], buf, (sizeof(cl_text) - cl_text_len));
- cl_text_len += strlen(buf);
- }
-
- wc_printf("<div id=\"chat_seq_%d\">", WC->last_chat_seq);
-
- if (strcasecmp(cl_user, WC->last_chat_user)) {
- wc_printf("<table border=0 width=100%% "
- "cellspacing=1 cellpadding=0 "
- "bgcolor="#ffffff">"
- "<tr><td></tr></td></table>"
- );
-
- }
-
- wc_printf("<table border=0 width=100%% cellspacing=0 cellpadding=0 "
- "bgcolor="#eeeeee">");
-
- wc_printf("<tr><td>");
-
- if (!strcasecmp(cl_user, ":")) {
- wc_printf("<I>");
- }