Mercurial > pidgin
diff src/server.c @ 2681:37d80035e77f
[gaim-migrate @ 2694]
don't ask.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 06 Nov 2001 23:58:24 +0000 |
parents | b0c5770156e1 |
children | e841b14b5b89 |
line wrap: on
line diff
--- a/src/server.c Tue Nov 06 21:30:31 2001 +0000 +++ b/src/server.c Tue Nov 06 23:58:24 2001 +0000 @@ -250,23 +250,23 @@ } -void serv_remove_buddy(struct gaim_connection *g, char *name) +void serv_remove_buddy(struct gaim_connection *g, char *name, char *group) { if (g && g_slist_find(connections, g) && g->prpl && g->prpl->remove_buddy) - g->prpl->remove_buddy(g, name); + g->prpl->remove_buddy(g, name, group); } -void serv_remove_buddies(struct gaim_connection *gc, GList *g) +void serv_remove_buddies(struct gaim_connection *gc, GList *g, char *group) { if (!g_slist_find(connections, gc)) return; if (!gc->prpl) return; /* how the hell did that happen? */ if (gc->prpl->remove_buddies) - gc->prpl->remove_buddies(gc, g); + gc->prpl->remove_buddies(gc, g, group); else { while (g) { - serv_remove_buddy(gc, g->data); + serv_remove_buddy(gc, g->data, group); g = g->next; } }