1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Update src/irc/core/lag.c

Co-Authored-By: dx <dx@dxzone.com.ar>
This commit is contained in:
ailin-nemui 2020-01-08 10:15:47 +01:00 committed by GitHub
parent 1cdb4bc311
commit b8be290640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ static void lag_event_pong(IRC_SERVER_REC *server, const char *data,
} }
now = g_get_real_time(); now = g_get_real_time();
server->lag = now - server->lag_sent; server->lag = (now - server->lag_sent) / G_TIME_SPAN_MILLISECOND;
server->lag_sent = 0; server->lag_sent = 0;
signal_emit("server lag", 1, server); signal_emit("server lag", 1, server);