diff src/blist.c @ 6378:01289157fc37

[gaim-migrate @ 6883] This solves the problem of 50 billion dialogs on your screen and server requests to re-authorize or re-deny everybody on every privacy list in your protocol. "Oops." committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 05 Aug 2003 18:59:57 +0000
parents 8f94cce8faa5
children e9974608b319
line wrap: on
line diff
--- a/src/blist.c	Tue Aug 05 18:31:00 2003 +0000
+++ b/src/blist.c	Tue Aug 05 18:59:57 2003 +0000
@@ -1013,9 +1013,9 @@
 					bud = g_list_append(bud, g_strdup(nm));
 				}
 			} else if (*c == 'p') {
-				gaim_privacy_permit_add(account, c + 2);
+				gaim_privacy_permit_add(account, c + 2, TRUE);
 			} else if (*c == 'd') {
-				gaim_privacy_deny_add(account, c + 2);
+				gaim_privacy_deny_add(account, c + 2, TRUE);
 			} else if (!strncmp("toc", c, 3)) {
 				sscanf(c + strlen(c) - 1, "%d", &account->perm_deny);
 				gaim_debug(GAIM_DEBUG_MISC, "toc blist",
@@ -1603,7 +1603,7 @@
 		GaimAccount *account = gaim_accounts_find(blist_parser_account_name,
 				blist_parser_account_protocol);
 		if(account) {
-			gaim_privacy_permit_add(account, blist_parser_buddy_name);
+			gaim_privacy_permit_add(account, blist_parser_buddy_name, TRUE);
 		}
 		g_free(blist_parser_buddy_name);
 		blist_parser_buddy_name = NULL;
@@ -1612,7 +1612,7 @@
 		GaimAccount *account = gaim_accounts_find(blist_parser_account_name,
 				blist_parser_account_protocol);
 		if(account) {
-			gaim_privacy_deny_add(account, blist_parser_buddy_name);
+			gaim_privacy_deny_add(account, blist_parser_buddy_name, TRUE);
 		}
 		g_free(blist_parser_buddy_name);
 		blist_parser_buddy_name = NULL;