# HG changeset patch # User Eric Warmenhoven # Date 1008088627 0 # Node ID caec520fde0b47f8c6ae240cc3f0632e41e34bff # Parent bc8f5a2231b884fc336c095c831be8a24deebac6 [gaim-migrate @ 2889] neasdgfjasiasldngp committer: Tailor Script diff -r bc8f5a2231b8 -r caec520fde0b src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Tue Dec 11 10:37:32 2001 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Dec 11 16:37:07 2001 +0000 @@ -777,9 +777,9 @@ return "Stepped Out"; case YAHOO_STATUS_INVISIBLE: return "Invisible"; + default: + return "Online"; } - - return "Online"; } static GList *yahoo_buddy_menu(struct gaim_connection *gc, char *who) @@ -793,6 +793,8 @@ if (!(b->uc & UC_UNAVAILABLE)) return NULL; + if (b->uc >> 1 == YAHOO_STATUS_IDLE) + return NULL; pbm = g_new0(struct proto_buddy_menu, 1); if ((b->uc >> 1) != YAHOO_STATUS_CUSTOM)