changeset 3103:0f54285a2271

[gaim-migrate @ 3117] Thanks Daniel Walls committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 28 Mar 2002 19:45:06 +0000
parents 8cf0497fbb30
children 1b8b05f76ae9
files src/buddy.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Mar 28 19:25:00 2002 +0000
+++ b/src/buddy.c	Thu Mar 28 19:45:06 2002 +0000
@@ -859,7 +859,6 @@
 		if (bs) {
 			if (g_slist_find(bs->connlist, gc)) {
 				bs->connlist = g_slist_remove(bs->connlist, gc);
-				update_num_group(gs);
 				if (!g_slist_length(bs->connlist)) {
 					gs->members = g_slist_remove(gs->members, bs);
 					if (bs->log_timer > 0)
@@ -879,6 +878,8 @@
 				}
 			}
 		}
+		if (gs)
+			update_num_group(gs);
 	}
 
 	c = find_conversation(rem_b->name);