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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user