changeset 528:d9e638d13e5a

[gaim-migrate @ 538] if serv_chat_send does escape_text for us, it should do it for us. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 26 Jul 2000 19:58:54 +0000
parents 47eb48fa2e85
children e6ba7ab7c349
files src/server.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Tue Jul 25 22:17:35 2000 +0000
+++ b/src/server.c	Wed Jul 26 19:58:54 2000 +0000
@@ -606,6 +606,7 @@
 {
 	if (!USE_OSCAR) {
 	        char buf[MSG_LEN];
+		escape_text(message);
 	        g_snprintf(buf, sizeof(buf), "toc_chat_send %d \"%s\"",id, message);
 	        sflap_send(buf, -1, TYPE_DATA);
 	} else {