From 910749a2a04175207afa4de27a2a578329171f39 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 7 Sep 2002 17:13:00 +0000 Subject: [PATCH] banned/dns_error state was set to servers in setup, but never reset, which means irssi stopped reconnecting to those servers forever if they occured once. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2910 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/servers-reconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/servers-reconnect.c b/src/core/servers-reconnect.c index eee3e843..a095f3c4 100644 --- a/src/core/servers-reconnect.c +++ b/src/core/servers-reconnect.c @@ -210,8 +210,8 @@ static void sig_reconnect(SERVER_REC *server) sserver->last_connect = server->connect_time == 0 ? time(NULL) : server->connect_time; sserver->last_failed = !server->connected; - if (server->banned) sserver->banned = TRUE; - if (server->dns_error) sserver->dns_error = TRUE; + sserver->banned = server->banned; + sserver->dns_error = server->dns_error; } if (sserver == NULL || conn->chatnet == NULL) {