comparison src/server.c @ 1145:cd96ca1aed02

[gaim-migrate @ 1155] actually to be quite honest toc has been blocking me so i have no way of knowing that the permit/deny stuff that i'm committing actually works. but i'm sure i'll get a bug report in about 3 hours or so if it's not. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 27 Nov 2000 13:18:11 +0000
parents 249b040f6a83
children 3063e6743913
comparison
equal deleted inserted replaced
1144:b1454d019277 1145:cd96ca1aed02
224 (*g->prpl->rem_deny)(g, name); 224 (*g->prpl->rem_deny)(g, name);
225 } 225 }
226 226
227 void serv_set_permit_deny(struct gaim_connection *g) 227 void serv_set_permit_deny(struct gaim_connection *g)
228 { 228 {
229 /* this is called when some other function has modified the permit/deny list and 229 /* this is called when either you import a buddy list, and make lots of changes that way,
230 * now wants to register that change with the server. if you're just adding/removing 230 * or when the user toggles the permit/deny mode in the prefs. In either case you should
231 * one name, use the add/remove functions above */ 231 * probably be resetting and resending the permit/deny info when you get this. */
232 if (g->prpl && g->prpl->set_permit_deny) 232 if (g->prpl && g->prpl->set_permit_deny)
233 (*g->prpl->set_permit_deny)(g); 233 (*g->prpl->set_permit_deny)(g);
234 } 234 }
235 235
236 236