aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/yahoo/yahoo.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-20 18:03:18 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-20 18:03:18 +0000
commit81ee561d520e38535fb6947ac0e3fba808e6de4b (patch)
tree122a46d40947e854fa643938c89ae7a6889eb52a /protocols/yahoo/yahoo.c
parent33304688895db5751f9ef087ff92b0a9dc284627 (diff)
parent0baed0da940c0d82280a5674d7fa8ad06d449384 (diff)
Merging head. Most changes are not so relevant because they're to IM
modules.
Diffstat (limited to 'protocols/yahoo/yahoo.c')
-rw-r--r--protocols/yahoo/yahoo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c
index 90466be3..b3d6ea1b 100644
--- a/protocols/yahoo/yahoo.c
+++ b/protocols/yahoo/yahoo.c
@@ -226,7 +226,7 @@ static void byahoo_set_away( struct im_connection *ic, char *state, char *msg )
else
yd->current_status = YAHOO_STATUS_CUSTOM;
}
- else if( state )
+ else if( msg )
yd->current_status = YAHOO_STATUS_CUSTOM;
else
yd->current_status = YAHOO_STATUS_AVAILABLE;