aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-05-16 23:23:21 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-05-16 23:23:21 +0200
commit10a0abfb5322aafddb21dabb34e8b89eaf4a05e0 (patch)
treefd7c73169075c1476d1b3f476354559804975227 /protocols
parentdd89a55a9b54e29da43d6adea00fc2c42e3e7ebd (diff)
parent5a348c3164f5f2d1a1f759c01e8bc7df2ad0dadb (diff)
Idle values for Yahoo!
Diffstat (limited to 'protocols')
-rw-r--r--protocols/yahoo/yahoo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c
index bf1dd1a0..1c3c73d9 100644
--- a/protocols/yahoo/yahoo.c
+++ b/protocols/yahoo/yahoo.c
@@ -609,7 +609,8 @@ void ext_yahoo_status_changed( int id, char *who, int stat, char *msg, int away
{
struct gaim_connection *gc = byahoo_get_gc_by_id( id );
- serv_got_update( gc, who, stat != YAHOO_STATUS_OFFLINE, 0, 0, 0,
+ serv_got_update( gc, who, stat != YAHOO_STATUS_OFFLINE, 0, 0,
+ ( stat == YAHOO_STATUS_IDLE ) ? away : 0,
( stat != YAHOO_STATUS_AVAILABLE ) | ( stat << 1 ), 0 );
}