diff src/protocols/irc/irc.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 ed2a6196ccab
children 381da05cb5ed
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Mon Apr 07 20:08:57 2003 +0000
+++ b/src/protocols/irc/irc.c	Mon Apr 07 23:17:27 2003 +0000
@@ -600,9 +600,9 @@
 				l = x + strlen(b->name);
 				if (x && (*l != ' ' && *l != 0))
 					x = 0;
-				if (!b->present && x)
+				if (!GAIM_BUDDY_IS_ONLINE(b) && x)
 					serv_got_update(gc, b->name, 1, 0, 0, 0, 0);
-				else if (b->present && !x)
+				else if (GAIM_BUDDY_IS_ONLINE(b) && !x)
 					serv_got_update(gc, b->name, 0, 0, 0, 0, 0);
 				g_free(tmp);
 			}
@@ -2458,7 +2458,7 @@
 
 static void irc_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne)
 {
-	if (b->present == 0)
+	if (b->present == GAIM_BUDDY_OFFLINE)
 		*se = "offline";
 }