Mercurial > pidgin
comparison src/privacy.c @ 13149:18e621aa8a43
[gaim-migrate @ 15512]
Rest of SF Patch #1414323 from Sadrul
Fixes SF Bug #1414023
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Feb 2006 02:49:56 +0000 |
parents | 109ee3bfeac5 |
children | 7f276f375789 |
comparison
equal
deleted
inserted
replaced
13148:cb53596ff3d2 | 13149:18e621aa8a43 |
---|---|
154 g_free(name); | 154 g_free(name); |
155 | 155 |
156 if (l == NULL) | 156 if (l == NULL) |
157 return FALSE; | 157 return FALSE; |
158 | 158 |
159 g_free(l->data); | 159 name = l->data; |
160 account->deny = g_slist_delete_link(account->deny, l); | 160 account->deny = g_slist_delete_link(account->deny, l); |
161 | 161 |
162 if (!local_only && gaim_account_is_connected(account)) | 162 if (!local_only && gaim_account_is_connected(account)) |
163 serv_rem_deny(gaim_account_get_connection(account), who); | 163 serv_rem_deny(gaim_account_get_connection(account), name); |
164 | 164 |
165 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) | 165 if (privacy_ops != NULL && privacy_ops->deny_removed != NULL) |
166 privacy_ops->deny_removed(account, who); | 166 privacy_ops->deny_removed(account, name); |
167 | 167 |
168 g_free(name); | |
168 gaim_blist_schedule_save(); | 169 gaim_blist_schedule_save(); |
169 | 170 |
170 return TRUE; | 171 return TRUE; |
171 } | 172 } |
172 | 173 |