diff src/buddy.c @ 1033:099748ff3a0a

[gaim-migrate @ 1043] i'm stupid, and, i'm stupid committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Oct 2000 07:06:37 +0000
parents 643a4d81c18a
children faa5afc2b89e
line wrap: on
line diff
--- a/src/buddy.c	Tue Oct 31 06:09:47 2000 +0000
+++ b/src/buddy.c	Tue Oct 31 07:06:37 2000 +0000
@@ -1424,6 +1424,8 @@
 		play_sound(BUDDY_LEAVE);
 		gs = find_group_show(g->name);
 		bs = find_buddy_show(gs, b->name);
+		if (!bs)
+			return;
 		bs->connlist = g_slist_remove(bs->connlist, gc);
 		if (bs->log_timer > 0)
 			gtk_timeout_remove(bs->log_timer);