1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

irc: fix reconnection to server using IPv6 (bug #38819, bug #40166)

This commit is contained in:
Sebastien Helleu
2013-10-03 19:46:53 +02:00
parent 32f2ec42c6
commit 22b53c6019
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -4051,8 +4051,7 @@ irc_server_disconnect (struct t_irc_server *server, int switch_address,
IRC_PLUGIN_NAME);
}
if (reconnect)
server->current_retry++;
server->current_retry = 0;
if (switch_address)
irc_server_switch_address (server, 0);