changeset 1097:40189d5443c0

[gaim-migrate @ 1107] i haven't tested this yet but i know it works. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 14 Nov 2000 19:32:45 +0000
parents c1dcba9f3a3a
children b335c0ce305e
files src/buddy.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Tue Nov 14 11:34:30 2000 +0000
+++ b/src/buddy.c	Tue Nov 14 19:32:45 2000 +0000
@@ -1782,7 +1782,7 @@
 					write_to_conv(c, tmp, WFLAG_SYSTEM, NULL);
 				}
 			}
-		} else {
+		} else if (bs->log_timer <= 0) {
 			if (gc->prpl->list_icon)
 				xpm = (*gc->prpl->list_icon)(b->uc);
 			if (xpm == NULL)
@@ -1802,6 +1802,9 @@
 		if (!gs) return;
 		bs = find_buddy_show(gs, b->name);
 		if (!bs) return;
+		if (!bs->connlist) return; /* we won't do signoff updates for
+					      buddies that have already signed
+					      off */
 		play_sound(BUDDY_LEAVE);
 		bs->connlist = g_slist_remove(bs->connlist, gc);
 		update_num_group(gs);