changeset 10105:e94f5975a4df

[gaim-migrate @ 11135] I'm told Ethan didn't commit this to HEAD, so I should. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 17 Oct 2004 00:33:22 +0000
parents 60db14d54914
children 131f70fc53c1
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Oct 16 15:07:22 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sun Oct 17 00:33:22 2004 +0000
@@ -3286,17 +3286,22 @@
 	acct = gc->account;
 
 	switch (acct->perm_deny) {
-		case 1:
-		case 3:
-		case 5:
+		/* privacy 1 */
+		case GAIM_PRIVACY_ALLOW_ALL:
+		/* privacy 3 */
+		case GAIM_PRIVACY_ALLOW_USERS:
 			for (deny = acct->deny;deny;deny = deny->next)
 				yahoo_rem_deny(gc, deny->data);
 			break;
-		case 4:
+		/* privacy 5 */
+		case GAIM_PRIVACY_ALLOW_BUDDYLIST:
+		/* privacy 4 */
+		case GAIM_PRIVACY_DENY_USERS:
 			for (deny = acct->deny;deny;deny = deny->next)
 				yahoo_add_deny(gc, deny->data);
 			break;
-		case 2:
+		/* privacy 2 */
+		case GAIM_PRIVACY_DENY_ALL:
 		default:
 			break;
 	}