# HG changeset patch # User Eric Warmenhoven # Date 1000141315 0 # Node ID aaa82fd67a7b931c9d3b955f7921357c33555f2a # Parent c0ac78ffe77f4986b3fcb095ab837253fb3e1f3b [gaim-migrate @ 2265] this is bad. committer: Tailor Script diff -r c0ac78ffe77f -r aaa82fd67a7b src/buddy.c --- 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);