gobjectification: 376bc572: One more little fix.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Jun 8 02:45:21 EDT 2009


-----------------------------------------------------------------
Revision: 376bc572e5e30ef7dcbff3ff690a33bd26ca51b8
Ancestor: 59ee79076323cbeeecc0eb85c47dd5d9644d8f65
Author: darkrain42 at pidgin.im
Date: 2009-06-08T06:41:18
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/376bc572e5e30ef7dcbff3ff690a33bd26ca51b8

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

ChangeLog: 

One more little fix.

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c	a81a9e554dd6d1ab724b22338876cfca2612e3b4
+++ libpurple/protocols/irc/msgs.c	57ab14705c51779bbb78ad59121b12805fa64f0a
@@ -992,7 +992,7 @@ void irc_msg_nickused(struct irc_conn *i
 	if (!args || !args[1])
 		return;
 
-	if (gc && purple_connection_get_state(gc) == PURPLE_CONNECTED) {
+	if (gc && purple_connection_get_state(gc) == PURPLE_CONNECTION_STATE_CONNECTED) {
 		/* We only want to do the following dance if the connection
 		   has not been successfully completed.  If it has, just
 		   notify the user that their /nick command didn't go. */


More information about the Commits mailing list