pidgin: bedf2a21: Fix outgoing IRC /mes to be printed to t..

elb at pidgin.im elb at pidgin.im
Wed May 27 18:20:38 EDT 2009


-----------------------------------------------------------------
Revision: bedf2a21ea34df2000768650d42bdd5eb262457b
Ancestor: 844835d41adbbdb590a8e9129b25107e1716c895
Author: florian at instantbird.org
Date: 2009-05-27T22:18:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bedf2a21ea34df2000768650d42bdd5eb262457b

Modified files:
        libpurple/protocols/irc/cmds.c

ChangeLog: 

Fix outgoing IRC /mes to be printed to the conversation window as sent
text.  (Thanks to Florian Qu?ze.)

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/cmds.c	95ee10d49741dec95ebc3b038cf122f1d051af35
+++ libpurple/protocols/irc/cmds.c	7327306021dde8bc516064ed5b3390e776c7a7f4
@@ -142,10 +142,10 @@ int irc_cmd_ctcp_action(struct irc_conn 
 		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);
 	}
 


More information about the Commits mailing list