Mercurial > pidgin
comparison src/privacy.c @ 6375:72023626d5b8
[gaim-migrate @ 6880]
Removed some unnecessary stuff. Oh yeah, and I think privacy is broken. I
can block, but not unblock. I'll fix it tomorrow.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 05 Aug 2003 11:33:18 +0000 |
parents | 4d61775a5741 |
children | 01289157fc37 |
comparison
equal
deleted
inserted
replaced
6374:ca73fdf3eb38 | 6375:72023626d5b8 |
---|---|
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 */ | 19 */ |
20 #include "internal.h" | 20 #include "internal.h" |
21 | 21 |
22 #include "account.h" | 22 #include "account.h" |
23 #include "debug.h" | |
23 #include "privacy.h" | 24 #include "privacy.h" |
24 #include "server.h" | 25 #include "server.h" |
25 #include "util.h" | 26 #include "util.h" |
26 | 27 |
27 static GaimPrivacyUiOps *privacy_ops = NULL; | 28 static GaimPrivacyUiOps *privacy_ops = NULL; |
151 return FALSE; | 152 return FALSE; |
152 | 153 |
153 account->deny = g_slist_remove(account->deny, l->data); | 154 account->deny = g_slist_remove(account->deny, l->data); |
154 g_free(l->data); | 155 g_free(l->data); |
155 | 156 |
156 if (gaim_account_is_connected(account)) | 157 if (gaim_account_is_connected(account)) { |
158 gaim_debug(GAIM_DEBUG_INFO, "privacy", | |
159 "Removing %s from server-side deny list\n", who); | |
157 serv_rem_deny(gaim_account_get_connection(account), who); | 160 serv_rem_deny(gaim_account_get_connection(account), who); |
161 } | |
158 | 162 |
159 gaim_blist_save(); | 163 gaim_blist_save(); |
160 | 164 |
161 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) | 165 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) |
162 privacy_ops->deny_removed(account, who); | 166 privacy_ops->deny_removed(account, who); |