diff src/protocols/oscar/oscar.c @ 11910:700ec4523c04

[gaim-migrate @ 14201] begone, buddy->present! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 30 Oct 2005 23:33:36 +0000
parents 346bd669c8f2
children 52f27ffe68a5
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Oct 30 23:21:22 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Oct 30 23:33:36 2005 +0000
@@ -6315,7 +6315,7 @@
 			   For more details, see SF issue 1179452.
 			*/
 			GaimBuddy *buddy = gaim_find_buddy(gc->account, name);
-			if (buddy && buddy->present != 0) {
+			if (buddy && GAIM_BUDDY_IS_ONLINE(buddy)) {
 				args.features = features_icq;
 				args.featureslen = sizeof(features_icq);
 			} else {