--- a/src/blist.c Thu May 26 12:49:25 2005 +0000 +++ b/src/blist.c Thu May 26 13:04:41 2005 +0000 @@ -561,6 +561,7 @@ for (anode = privacy->child; anode; anode = anode->next) { xmlnode *x; GaimAccount *account; + int imode; const char *acct_name, *proto, *mode, *protocol; acct_name = xmlnode_get_attrib(anode, "name"); @@ -576,7 +577,8 @@ if (!account) continue; - account->perm_deny = atoi(mode); + imode = atoi(mode); + account->perm_deny = (imode != 0 ? imode : 1); for (x = anode->child; x; x = x->next) { char *name;