src/list.c

changeset 4919
1a003b91915f
parent 4891
ef1b39415657
child 4936
e219928f8ab6
--- a/src/list.c	Mon Mar 31 08:54:09 2003 +0000
+++ b/src/list.c	Mon Mar 31 14:18:24 2003 +0000
@@ -439,7 +439,8 @@
 		while (buddy) {
 			if (account == ((struct buddy*)buddy)->account) {
 				((struct buddy*)buddy)->present = 0;
-				ops->remove(gaimbuddylist, buddy);
+				if(ops)
+					ops->remove(gaimbuddylist, buddy);
 			}
 			buddy = buddy->next;
 		}

mercurial