changeset 11250:4e25fb6678bd

[gaim-migrate @ 13419] sf patch #1243796, from Sadrul Habib Chowdhury Yahoo: buddies shown Idle when they sign out committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 05:30:13 +0000
parents b4b1be482b4e
children ad9a61894d9b
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Aug 13 05:22:09 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Aug 13 05:30:13 2005 +0000
@@ -104,14 +104,15 @@
 
 static void yahoo_update_status(GaimConnection *gc, const char *name, YahooFriend *f)
 {
-	gboolean online = TRUE;
 	char *status = NULL;
 
 	if (!gc || !name || !f || !gaim_find_buddy(gaim_connection_get_account(gc), name))
 		return;
 
 	if (f->status == YAHOO_STATUS_OFFLINE)
-		online = FALSE;
+	{
+		return;
+	}
 
 	switch (f->status) {
 	case YAHOO_STATUS_AVAILABLE: