1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

Improve irc lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds

This commit is contained in:
Sebastien Helleu
2010-07-06 12:17:30 +02:00
parent 86e503b640
commit aefa40836b
21 changed files with 348 additions and 61 deletions
+1
View File
@@ -149,6 +149,7 @@ struct t_irc_server
int lag; /* lag (in milliseconds) */
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 */
regex_t *cmd_list_regexp; /* compiled Regular Expression for /list */
time_t last_user_message; /* time of last user message (anti flood)*/
struct t_irc_outqueue *outqueue[2]; /* queue for outgoing messages */