Mercurial > pidgin
changeset 4440:d9e4eacf6b46
[gaim-migrate @ 4715]
this was bad. glad i noticed it.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 28 Jan 2003 05:39:29 +0000 |
parents | 7693d84255e7 |
children | 474a0a88dd5e |
files | src/server.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server.c Tue Jan 28 03:47:22 2003 +0000 +++ b/src/server.c Tue Jan 28 05:39:29 2003 +0000 @@ -388,8 +388,11 @@ GList *tobemoved = NULL; GSList *original; - for (original=old_group->members; original; original=g_slist_next(original)) - tobemoved = g_list_append(tobemoved, ((struct buddy *)original->data)->name); + for (original=old_group->members; original; original=g_slist_next(original)) { + struct buddy *b = original->data; + if(b->user == g->user) + tobemoved = g_list_append(tobemoved, b->name); + } if (g->prpl->rename_group) { /* prpl's might need to check if the group already