changeset 2259:866bf3ced1bc

[gaim-migrate @ 2269] Daniel J Peng submitted this patch committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 10 Sep 2001 18:39:57 +0000
parents a8232c7dafa9
children aa69e80298bb
files plugins/mailchk.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mailchk.c	Mon Sep 10 17:12:03 2001 +0000
+++ b/plugins/mailchk.c	Mon Sep 10 18:39:57 2001 +0000
@@ -90,9 +90,10 @@
 
 static void mail_signoff(struct gaim_connection *gc)
 {
-	if (timer)
+	if (!blist && timer) {
 		gtk_timeout_remove(timer);
-	timer = 0;
+		timer = 0;
+	}
 }
 
 char *gaim_plugin_init(GModule *m)