1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

Add option irc.network.connection_timeout (timeout between TCP connection to server and reception of message 001)

This commit is contained in:
Sebastien Helleu
2010-02-19 16:21:36 +01:00
parent 090bd68e7c
commit cdf990fced
18 changed files with 187 additions and 18 deletions
+5
View File
@@ -1790,6 +1790,11 @@ irc_protocol_cmd_001 (struct t_irc_server *server, const char *command,
/* connection to IRC server is ok! */
server->is_connected = 1;
if (server->hook_timer_connection)
{
weechat_unhook (server->hook_timer_connection);
server->hook_timer_connection = NULL;
}
server->lag_next_check = time (NULL) +
weechat_config_integer (irc_config_network_lag_check);
irc_server_set_buffer_title (server);