mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 03:02:30 +01:00
Merge pull request #603 from orium/lag-meter-stuck
Fix an issue where the lag meter could get stuck after reconnect
This commit is contained in:
commit
fcdd85ae5e
@ -489,6 +489,7 @@ server_connected (server * serv)
|
||||
{
|
||||
prefs.wait_on_exit = TRUE;
|
||||
serv->ping_recv = time (0);
|
||||
serv->lag_sent = 0;
|
||||
serv->connected = TRUE;
|
||||
set_nonblocking (serv->sok);
|
||||
serv->iotag = fe_input_add (serv->sok, FIA_READ|FIA_EX, server_read, serv);
|
||||
|
Loading…
Reference in New Issue
Block a user