changeset 1165:3daec853f3c6

[gaim-migrate @ 1175] this should be such a simple file. i should really sit down and take a closer look at it someday committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 28 Nov 2000 18:22:17 +0000
parents ed5bb86253c6
children d8324d695678
files plugins/autorecon.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/autorecon.c	Tue Nov 28 17:42:59 2000 +0000
+++ b/plugins/autorecon.c	Tue Nov 28 18:22:17 2000 +0000
@@ -20,8 +20,9 @@
 void do_signon(char *name) {
 	struct aim_user *u = find_user(name, -1);
 	g_free(name);
+	gtk_timeout_remove(recon);
+	if (!u) return;
 	serv_login(u);
-	gtk_timeout_remove(recon);
 	forced_off = 0;
 	if (away_state) do_away_message(NULL, last_away);
 }