changeset 1818:84782d1cb051

[gaim-migrate @ 1828] details committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 06 May 2001 10:14:51 +0000
parents b367beee6448
children 47e064712091
files plugins/autorecon.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/autorecon.c	Sun May 06 10:08:40 2001 +0000
+++ b/plugins/autorecon.c	Sun May 06 10:14:51 2001 +0000
@@ -12,14 +12,14 @@
 }
 
 static gboolean do_signon(struct aim_user *u) {
-	if (!g_list_index(aim_users, u))
+	if (g_list_index(aim_users, u) < 0)
 		return FALSE;
 	serv_login(u);
 	return FALSE;
 }
 
 static void reconnect(struct gaim_connection *gc, void *m) {
-	if (gc->wants_to_die)
+	if (!gc->wants_to_die)
 		gtk_timeout_add(8000, (GtkFunction)do_signon, gc->user);
 }