Mercurial > pidgin
diff src/server.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 | be31fb7a719e |
children | 2ff05a24192b |
line wrap: on
line diff
--- a/src/server.c Mon Apr 07 20:08:57 2003 +0000 +++ b/src/server.c Mon Apr 07 23:17:27 2003 +0000 @@ -893,7 +893,7 @@ if (loggedin) { - if (!b->present == 1) { + if (!GAIM_BUDDY_IS_ONLINE(b)) { struct gaim_conversation *c = gaim_find_conversation(b->name); if (c && (im_options & OPT_IM_LOGON)) { char *tmp = g_strdup_printf(_("%s logged in."), gaim_get_buddy_alias(b)); @@ -917,7 +917,7 @@ system_log(log_signon, gc, b, OPT_LOG_BUDDY_SIGNON); } } else { - if (b->present == 1) { + if (GAIM_BUDDY_IS_ONLINE(b)) { struct gaim_conversation *c = gaim_find_conversation(b->name); if (c && (im_options & OPT_IM_LOGON)) { char *tmp = g_strdup_printf(_("%s logged out."), gaim_get_buddy_alias(b));