Mercurial > pidgin
changeset 2255:aaa82fd67a7b
[gaim-migrate @ 2265]
this is bad.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 10 Sep 2001 17:01:55 +0000 |
parents | c0ac78ffe77f |
children | 73872bedf07e |
files | src/buddy.c |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Mon Sep 10 05:37:29 2001 +0000 +++ b/src/buddy.c Mon Sep 10 17:01:55 2001 +0000 @@ -2089,6 +2089,24 @@ } static gint log_timeout(struct buddy_show *b) { + /* this part is really just a bad hack because of a bug I can't find */ + GSList *s = shows; + while (s) { + struct group_show *gs = s->data; + GSList *m = gs->members; + while (m) { + if (b == m->data) + break; + m = m->next; + } + if (m != NULL) + break; + s = s->next; + } + if (!s) + return 0; + + /* this is the real part. */ if (!b->connlist) { struct group_show *g = find_gs_by_bs(b); g->members = g_slist_remove(g->members, b);