comparison src/protocols/oscar/oscar.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 588e88bcdac5
comparison
equal deleted inserted replaced
6377:8cbf38789734 6378:01289157fc37
4885 GSList *list; 4885 GSList *list;
4886 for (list=account->permit; (list && aim_sncmp(curitem->name, list->data)); list=list->next); 4886 for (list=account->permit; (list && aim_sncmp(curitem->name, list->data)); list=list->next);
4887 if (!list) { 4887 if (!list) {
4888 gaim_debug(GAIM_DEBUG_INFO, "oscar", 4888 gaim_debug(GAIM_DEBUG_INFO, "oscar",
4889 "ssi: adding permit buddy %s to local list\n", curitem->name); 4889 "ssi: adding permit buddy %s to local list\n", curitem->name);
4890 gaim_privacy_permit_add(account, curitem->name); 4890 gaim_privacy_permit_add(account, curitem->name, FALSE);
4891 export = TRUE; 4891 export = TRUE;
4892 } 4892 }
4893 } 4893 }
4894 } break; 4894 } break;
4895 4895
4898 GSList *list; 4898 GSList *list;
4899 for (list=account->deny; (list && aim_sncmp(curitem->name, list->data)); list=list->next); 4899 for (list=account->deny; (list && aim_sncmp(curitem->name, list->data)); list=list->next);
4900 if (!list) { 4900 if (!list) {
4901 gaim_debug(GAIM_DEBUG_INFO, "oscar", 4901 gaim_debug(GAIM_DEBUG_INFO, "oscar",
4902 "ssi: adding deny buddy %s to local list\n", curitem->name); 4902 "ssi: adding deny buddy %s to local list\n", curitem->name);
4903 gaim_privacy_deny_add(account, curitem->name); 4903 gaim_privacy_deny_add(account, curitem->name, FALSE);
4904 export = TRUE; 4904 export = TRUE;
4905 } 4905 }
4906 } 4906 }
4907 } break; 4907 } break;
4908 4908