diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-16 10:24:00 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-16 10:24:00 +0000 |
commit | ec55a7d76711d6b071e0d1ba043cb120d3e11c24 (patch) | |
tree | 947657fc7bfa9d0b26e71add5bf942d5e6ef91fe | |
parent | 449a51de265cb3b4f0f5003e09fbbb030247c972 (diff) |
Really set Yahoo! status messages properly. YMSG, how I hate you.
-rw-r--r-- | protocols/yahoo/yahoo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index a47de966..b61f6ff9 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; |