changeset 27043:367570a961f0

Fix outgoing IRC /mes to be printed to the conversation window as sent text. (Thanks to Florian Quze.) committer: Ethan Blanton <elb@pidgin.im>
author Florian Quèze <florian@instantbird.org>
date Wed, 27 May 2009 22:18:39 +0000
parents da9d25c582c1
children e4270698da39
files libpurple/protocols/irc/cmds.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/cmds.c	Wed May 27 05:47:36 2009 +0000
+++ b/libpurple/protocols/irc/cmds.c	Wed May 27 22:18:39 2009 +0000
@@ -142,10 +142,10 @@
 		if (purple_conversation_get_type(convo) == PURPLE_CONV_TYPE_CHAT)
 			serv_got_chat_in(gc, purple_conv_chat_get_id(PURPLE_CONV_CHAT(convo)),
 			                 purple_connection_get_display_name(gc),
-			                 0, action, time(NULL));
+			                 PURPLE_MESSAGE_SEND, action, time(NULL));
 		else
 			purple_conv_im_write(PURPLE_CONV_IM(convo), purple_connection_get_display_name(gc),
-			                     action, 0, time(NULL));
+			                     action, PURPLE_MESSAGE_SEND, time(NULL));
 		g_free(action);
 	}