diff src/oscar.c @ 900:e18815f5a4e9

[gaim-migrate @ 910] libfaim changes la la la committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Sep 2000 23:48:43 +0000
parents fa2feef25e1e
children e1a7fc4482b9
line wrap: on
line diff
--- a/src/oscar.c	Wed Sep 13 23:33:11 2000 +0000
+++ b/src/oscar.c	Wed Sep 13 23:48:43 2000 +0000
@@ -542,15 +542,15 @@
 	info = va_arg(ap, struct aim_userinfo_s *);
 	va_end(ap);
 
-	if (info->class & AIM_CLASS_TRIAL)
+	if (info->flags & AIM_FLAG_UNCONFIRMED)
 		type |= UC_UNCONFIRMED;
-	else if (info->class & AIM_CLASS_ADMINISTRATOR)
+	else if (info->flags & AIM_FLAG_ADMINISTRATOR)
 		type |= UC_ADMIN;
-	else if (info->class & AIM_CLASS_AOL)
+	else if (info->flags & AIM_FLAG_AOL)
 		type |= UC_AOL;
-	else if (info->class & AIM_CLASS_FREE)
+	else if (info->flags & AIM_FLAG_FREE)
 		type |= UC_NORMAL;
-	if (info->class & AIM_CLASS_AWAY)
+	if (info->flags & AIM_FLAG_AWAY)
 		type |= UC_UNAVAILABLE;
 
 	if (info->idletime) {
@@ -1093,7 +1093,7 @@
 		aim_bos_reqicbmparaminfo(sess, command->conn);
 
 		aim_bos_reqrights(sess, command->conn);
-		aim_bos_setgroupperm(sess, command->conn, AIM_CLASS_ALLUSERS);
+		aim_bos_setgroupperm(sess, command->conn, AIM_FLAG_ALLUSERS);
 		aim_bos_setprivacyflags(sess, command->conn, AIM_PRIVFLAGS_ALLOWIDLE |
 							     AIM_PRIVFLAGS_ALLOWMEMBERSINCE);