src/blist.c

changeset 5278
8c9ac4446f1e
parent 5277
771f10d45bfd
child 5287
ac05902f0535
--- a/src/blist.c	Thu May 01 18:24:17 2003 +0000
+++ b/src/blist.c	Thu May 01 19:34:30 2003 +0000
@@ -347,6 +347,8 @@
 		if(cnode->parent->child == cnode)
 			cnode->parent->child = cnode->next;
 
+		((struct group *)((GaimBlistNode *)chat)->parent)->online--;
+
 		ops->remove(gaimbuddylist, cnode);
 
 		save = TRUE;
@@ -371,6 +373,8 @@
 			g->currentsize++;
 	}
 
+	((struct group *)((GaimBlistNode *)chat)->parent)->online++;
+
 	if (ops)
 		ops->update(gaimbuddylist, (GaimBlistNode*)cnode);
 	if (save)

mercurial