diff -r 5a787d80901c -r 0d4c4df65dd0 src/server.c --- 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));