changeset 10945:1ce8013f5642

[gaim-migrate @ 12740] This is probably better, thanks Bleeter, hopefully you'll not notice this commit came after my statement in #gaim :-) committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 26 May 2005 23:58:20 +0000
parents 4a4f2760a9ad
children 2d30f151146d
files src/account.c src/blist.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Thu May 26 13:04:41 2005 +0000
+++ b/src/account.c	Thu May 26 23:58:20 2005 +0000
@@ -28,6 +28,7 @@
 #include "notify.h"
 #include "pounce.h"
 #include "prefs.h"
+#include "privacy.h"
 #include "prpl.h"
 #include "request.h"
 #include "server.h"
@@ -683,7 +684,7 @@
 				g_free, (GDestroyNotify)g_hash_table_destroy);
 	account->system_log = NULL;
 	/* 0 is not a valid privacy setting */
-	account->perm_deny = 1;
+	account->perm_deny = GAIM_PRIVACY_ALLOW_ALL;
 
 	account->presence = gaim_presence_new_for_account(account);
 
--- a/src/blist.c	Thu May 26 13:04:41 2005 +0000
+++ b/src/blist.c	Thu May 26 23:58:20 2005 +0000
@@ -578,7 +578,7 @@
 				continue;
 
 			imode = atoi(mode);
-			account->perm_deny = (imode != 0 ? imode : 1);
+			account->perm_deny = (imode != 0 ? imode : GAIM_PRIVACY_ALLOW_ALL);
 
 			for (x = anode->child; x; x = x->next) {
 				char *name;