1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

irc: fix update of lag item when the server lag changes

This commit is contained in:
Sébastien Helleu
2015-08-05 20:51:12 +02:00
parent 82199f8264
commit 5aa93fdbb7
6 changed files with 26 additions and 11 deletions
+1
View File
@@ -206,6 +206,7 @@ struct t_irc_server
char *away_message; /* away message, NULL if not away */
time_t away_time; /* time() when user marking as away */
int lag; /* lag (in milliseconds) */
int lag_displayed; /* last value displayed for lag */
struct timeval lag_check_time; /* last time lag was checked (ping sent) */
time_t lag_next_check; /* time for next check */
time_t lag_last_refresh; /* last refresh of lag item */