mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
b532986e5b
commit
910749a2a0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user