changeset 4919:a1551892049c

[gaim-migrate @ 5253] hrmm, thought I had committed this already... more goodies when I get back from my test :-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 31 Mar 2003 14:18:24 +0000
parents 553d96cb9b26
children a7f77d07783b
files src/list.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		}