irc: Fix comparison error appears to cause the initial IRC status not to be set correctly release-2.x.y

Tue, 26 Feb 2013 23:12:24 -0500

author
Daniel Atallah <datallah@pidgin.im>
date
Tue, 26 Feb 2013 23:12:24 -0500
branch
release-2.x.y
changeset 33803
1f649155c1ee
parent 33802
448dd56e312d
child 33804
50853d1efbca

irc: Fix comparison error appears to cause the initial IRC status not to be set correctly

libpurple/protocols/irc/msgs.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/irc/msgs.c	Tue Feb 26 22:59:38 2013 -0500
+++ b/libpurple/protocols/irc/msgs.c	Tue Feb 26 23:12:24 2013 -0500
@@ -99,7 +99,7 @@
 
 	/* If we're away then set our away message */
 	status = purple_account_get_active_status(irc->account);
-	if (!purple_status_get_type(status) != PURPLE_STATUS_AVAILABLE) {
+	if (purple_status_get_type(status) != PURPLE_STATUS_AVAILABLE) {
 		PurplePluginProtocolInfo *prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(gc->prpl);
 		prpl_info->set_status(irc->account, status);
 	}

mercurial