# HG changeset patch # User Eric Warmenhoven # Date 965627883 0 # Node ID d96b511972fedc49edae629bfeef971b81389730 # Parent 3d2f140640831ebacc78d83c171fa893bea9985b [gaim-migrate @ 641] let's try to make this a little smarter, eh? it didn't work so good with oscar. committer: Tailor Script diff -r 3d2f14064083 -r d96b511972fe plugins/autorecon.c --- a/plugins/autorecon.c Mon Aug 07 05:50:17 2000 +0000 +++ b/plugins/autorecon.c Mon Aug 07 05:58:03 2000 +0000 @@ -20,18 +20,26 @@ extern void dologin(GtkWidget *, GtkWidget *); void do_signon() { - dologin(NULL, NULL); - if (blist) { + if (!blist) + dologin(NULL, NULL); + if (!USE_OSCAR) { + if (blist) { + gtk_timeout_remove(recon); + forced_off = 0; + if (away_state) + do_away_message(NULL, last_away); + return; + } + } else { gtk_timeout_remove(recon); forced_off = 0; - if (away_state) - do_away_message(NULL, last_away); + if (blist && away_state) do_away_message(NULL, last_away); return; } } void reconnect(void *m) { - recon = gtk_timeout_add(2000, (GtkFunction)do_signon, NULL); + recon = gtk_timeout_add(8000, (GtkFunction)do_signon, NULL); forced_off = 1; }