summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 26d9a7cb..45472e05 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -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);