changeset 2448:dab1bf4a8392

[gaim-migrate @ 2461] chat shouldn't go through CUI_MESSAGE. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 08 Oct 2001 01:12:57 +0000
parents 6bdeb91abe4e
children cbac74881be9
files src/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon Oct 08 01:12:02 2001 +0000
+++ b/src/conversation.c	Mon Oct 08 01:12:57 2001 +0000
@@ -1365,7 +1365,7 @@
 	}
 
 	/* XXX CUI: this is really bad and should be moved somewhere else later. */
-	if (c->gc) {
+	if (!c->is_chat && c->gc) {
 		int index = g_slist_index(connections, c->gc);
 		int sname = strlen(who);
 		int swhat = strlen(what);