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:
parent
1cdb4bc311
commit
b8be290640
@ -58,7 +58,7 @@ static void lag_event_pong(IRC_SERVER_REC *server, const char *data,
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
signal_emit("server lag", 1, server);
|
||||
|
Loading…
Reference in New Issue
Block a user