libgaim/blist.c

changeset 14843
5aa993aad339
parent 14814
479ac60fb641
child 15212
2919bfea7c4a
--- a/libgaim/blist.c	Thu Oct 19 03:23:01 2006 +0000
+++ b/libgaim/blist.c	Thu Oct 19 05:56:00 2006 +0000
@@ -1808,7 +1808,7 @@
 	gaim_blist_schedule_save();
 
 	/* Re-sort the contact */
-	if (contact->priority == buddy) {
+	if (cnode->child && contact->priority == buddy) {
 		gaim_contact_invalidate_priority_buddy(contact);
 		if (ops && ops->update)
 			ops->update(gaimbuddylist, cnode);

mercurial