libpurple/protocols/irc/msgs.c

branch
release-2.x.y
changeset 33803
1f649155c1ee
parent 33729
ad9fe0ad7f39
child 33811
5ab172aeeff2
child 35169
44348822264a
child 35248
9f132a6855cd
--- 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