1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 15:48:52 -05:00

Fix an issue where the lag meter would be stuck after a reconnect caused by a

ping timeout.
This commit is contained in:
Diogo Sousa 2013-05-16 15:11:52 +01:00
parent 26cefd0587
commit 89078eb3b3

View File

@ -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);