/pidgin/main: 1f649155c1ee: irc: Fix comparison error appears to...
Daniel Atallah
datallah at pidgin.im
Tue Feb 26 23:12:33 EST 2013
Changeset: 1f649155c1ee345d9d8d5d118b34107ca8d8bcb4
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2013-02-26 23:12 -0500
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/1f649155c1ee
Description:
irc: Fix comparison error appears to cause the initial IRC status not to be set correctly
diffstat:
libpurple/protocols/irc/msgs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols/irc/msgs.c b/libpurple/protocols/irc/msgs.c
--- a/libpurple/protocols/irc/msgs.c
+++ b/libpurple/protocols/irc/msgs.c
@@ -99,7 +99,7 @@ static void irc_connected(struct irc_con
/* 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);
}
More information about the Commits
mailing list