Update of /cvsroot/gaim/gaim/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31057
Modified Files:
account.c blist.c
Log Message:
This is probably better, thanks Bleeter, hopefully you'll not notice this
commit came after my statement in #gaim :-)
Index: account.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/account.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -p -r1.139 -r1.140
--- account.c 26 May 2005 13:04:41 -0000 1.139
+++ account.c 26 May 2005 23:58:20 -0000 1.140
@@ -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 @@ gaim_account_new(const char *username, c
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);
Index: blist.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/blist.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -p -r1.210 -r1.211
--- blist.c 26 May 2005 13:04:41 -0000 1.210
+++ blist.c 26 May 2005 23:58:20 -0000 1.211
@@ -578,7 +578,7 @@ gaim_blist_load()
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;
|