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
1 changed files with 1 additions and 0 deletions

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