diff src/blist.c @ 8175:f347c8d25cf5

[gaim-migrate @ 8889] Make privacy stuff use an enum for different privacy options. This started with a fix to make the box for "allow the users below" show up when opening the privacy dialog when that option was selected. It might be a good idea for a few people to check their privacy settings after using this to make sure it's the same as what it used to be. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 28 Jan 2004 05:43:04 +0000
parents 8f4ce853e685
children 22b3974dc1af
line wrap: on
line diff
--- a/src/blist.c	Wed Jan 28 04:09:18 2004 +0000
+++ b/src/blist.c	Wed Jan 28 05:43:04 2004 +0000
@@ -1594,13 +1594,13 @@
 				gaim_debug(GAIM_DEBUG_MISC, "toc blist",
 						   "permdeny: %d\n", account->perm_deny);
 				if (account->perm_deny == 0)
-					account->perm_deny = 1;
+					account->perm_deny = GAIM_PRIVACY_ALLOW_ALL;
 			} else if (*c == 'm') {
 				sscanf(c + 2, "%d", &account->perm_deny);
 				gaim_debug(GAIM_DEBUG_MISC, "toc blist",
 						   "permdeny: %d\n", account->perm_deny);
 				if (account->perm_deny == 0)
-					account->perm_deny = 1;
+					account->perm_deny = GAIM_PRIVACY_ALLOW_ALL;
 			}
 		} while ((c = strtok(NULL, "\n")));