changeset 4920:a7f77d07783b

[gaim-migrate @ 5254] No more Status: Offline Status: Avaliable for MSN tooltips :) Thanks, Chris Jones. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 31 Mar 2003 16:06:26 +0000
parents a1551892049c
children d5c136474f26
files src/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Mon Mar 31 14:18:24 2003 +0000
+++ b/src/protocols/msn/msn.c	Mon Mar 31 16:06:26 2003 +0000
@@ -1641,7 +1641,8 @@
 }
 
 static char *msn_tooltip_text(struct buddy *b) {
-	return g_strdup_printf(_("<b>Status:</b> %s"), msn_get_away_text(b->uc >> 1));
+	if (b->present)
+		return g_strdup_printf(_("<b>Status:</b> %s"), msn_get_away_text(b->uc >> 1));
 }
 
 static GList *msn_buddy_menu(struct gaim_connection *gc, char *who)