diff src/protocols/oscar/oscar.c @ 5068:b37d7d09ec83

[gaim-migrate @ 5419] logout icons committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 07 Apr 2003 23:17:27 +0000
parents ba713dabf3ef
children 74139d2562f5
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Apr 07 20:08:57 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Apr 07 23:17:27 2003 +0000
@@ -5148,7 +5148,7 @@
 	char *emblems[4] = {NULL,NULL,NULL,NULL};
 	int i = 0;
 
-	if (b->present == 0)
+	if (b->present == GAIM_BUDDY_OFFLINE)
 		emblems[i++] = "offline";
 
 	if (b->name && (b->uc & 0xffff0000) && isdigit(b->name[0])) {
@@ -5512,7 +5512,7 @@
 	} else {
 		struct buddy *b = gaim_find_buddy(gc->account, who);
 
-		if ((aim_sncmp(gc->username, who)) && b->present) {
+		if ((aim_sncmp(gc->username, who)) && GAIM_BUDDY_IS_ONLINE(b)) {
 			pbm = g_new0(struct proto_buddy_menu, 1);
 			pbm->label = _("Direct IM");
 			pbm->callback = oscar_ask_direct_im;