--- a/src/account.c Thu May 26 08:49:15 2005 -0400
+++ b/src/account.c Thu May 26 09:04:27 2005 -0400
@@ -145,6 +145,8 @@
account->ui_settings = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, (GDestroyNotify)g_hash_table_destroy);
account->system_log = NULL;
+ /* 0 is not a valid privacy setting */ + account->perm_deny = 1; --- a/src/blist.c Thu May 26 08:49:15 2005 -0400
+++ b/src/blist.c Thu May 26 09:04:27 2005 -0400
@@ -2004,6 +2004,7 @@
for (anode = privacy->child; anode; anode = anode->next) {
const char *acct_name, *proto, *mode, *protocol;
acct_name = xmlnode_get_attrib(anode, "name");
@@ -2019,7 +2020,8 @@
- account->perm_deny = atoi(mode);
+ account->perm_deny = (imode != 0 ? imode : 1); for (x = anode->child; x; x = x->next) {
--- a/src/protocols/yahoo/yahoo.c Thu May 26 08:49:15 2005 -0400
+++ b/src/protocols/yahoo/yahoo.c Thu May 26 09:04:27 2005 -0400
@@ -78,12 +78,6 @@
gboolean permitted=FALSE;
switch (gc->account->perm_deny) {
- gaim_debug_warning("yahoo", "Privacy setting was 0. If you can "
- "reproduce this, please file a bug report.\n");
case GAIM_PRIVACY_ALLOW_ALL: