Mercurial > pidgin
comparison src/privacy.c @ 8150:20262ccefdd8
[gaim-migrate @ 8862]
Nope, it's humor. Trust me, I know--I define it.
Oh, also, this should make oscar ssi lists take precedence over
local lists. So if you sign on while you're in Rome and delete
someone, the next time you sign in with Gaim the dude will be
deleted from your local list as well.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 20 Jan 2004 15:27:33 +0000 |
parents | fa6395637e2c |
children | 7a8aa87164ae |
comparison
equal
deleted
inserted
replaced
8149:eb2a420060f8 | 8150:20262ccefdd8 |
---|---|
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 */ | 21 */ |
22 #include "internal.h" | 22 #include "internal.h" |
23 | 23 |
24 #include "account.h" | 24 #include "account.h" |
25 #include "debug.h" | |
26 #include "privacy.h" | 25 #include "privacy.h" |
27 #include "server.h" | 26 #include "server.h" |
28 #include "util.h" | 27 #include "util.h" |
29 | 28 |
30 static GaimPrivacyUiOps *privacy_ops = NULL; | 29 static GaimPrivacyUiOps *privacy_ops = NULL; |
158 return FALSE; | 157 return FALSE; |
159 | 158 |
160 account->deny = g_slist_remove(account->deny, l->data); | 159 account->deny = g_slist_remove(account->deny, l->data); |
161 g_free(l->data); | 160 g_free(l->data); |
162 | 161 |
163 if (!local_only && gaim_account_is_connected(account)) { | 162 if (!local_only && gaim_account_is_connected(account)) |
164 gaim_debug(GAIM_DEBUG_INFO, "privacy", | |
165 "Removing %s from server-side deny list\n", who); | |
166 serv_rem_deny(gaim_account_get_connection(account), who); | 163 serv_rem_deny(gaim_account_get_connection(account), who); |
167 } | |
168 | 164 |
169 gaim_blist_save(); | 165 gaim_blist_save(); |
170 | 166 |
171 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) | 167 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) |
172 privacy_ops->deny_removed(account, who); | 168 privacy_ops->deny_removed(account, who); |