diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-31 09:12:27 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-31 09:12:27 +0200 |
commit | 192b80a1175690187be4bad30c36d286f8e63eb0 (patch) | |
tree | 0b03f600853590fd13916577c225db3933631c37 /protocols/yahoo/yahoo.c | |
parent | a014331db88702de88f3327a0b87f9b8258c8d43 (diff) |
Removed some unused stuff from nogaim.h, preparing to fix some API issues there.
Diffstat (limited to 'protocols/yahoo/yahoo.c')
-rw-r--r-- | protocols/yahoo/yahoo.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index 4f257d99..bf1dd1a0 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -226,16 +226,11 @@ static void byahoo_set_away( struct gaim_connection *gc, char *state, char *msg yd->current_status = YAHOO_STATUS_INVISIBLE; else if( g_strcasecmp( state, GAIM_AWAY_CUSTOM ) == 0 ) { - if (gc->is_idle) - yd->current_status = YAHOO_STATUS_IDLE; - else - yd->current_status = YAHOO_STATUS_AVAILABLE; + yd->current_status = YAHOO_STATUS_AVAILABLE; gc->away = NULL; } } - else if( gc->is_idle ) - yd->current_status = YAHOO_STATUS_IDLE; else yd->current_status = YAHOO_STATUS_AVAILABLE; |