summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar-items.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-21 10:25:37 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-21 10:25:37 +0000
commit79212504ec27638364ad4b9a49300ca80b18e41f (patch)
treed6c4cd5d8ee958c84f31758de612e78454533ac8 /src/fe-text/statusbar-items.c
parentb5fa93c6e7a31f9ce50b8a39276adf56002f3f78 (diff)
downloadirssi-79212504ec27638364ad4b9a49300ca80b18e41f.zip
Lag statusbar item isn't anymore displayed always
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1872 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/statusbar-items.c')
-rw-r--r--src/fe-text/statusbar-items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index 7969c5ea..55f26253 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -91,7 +91,7 @@ static void item_lag(SBAR_ITEM_REC *item, int get_size_only)
if (server->lag_sent == 0 || now-server->lag_sent < 5) {
lag_unknown = now-server->lag_last_check >
MAX_LAG_UNKNOWN_TIME+settings_get_int("lag_check_time");
- lag_min_show = settings_get_int("lag_min_show");
+ lag_min_show = settings_get_int("lag_min_show")*10;
if (lag_min_show < 0 || (server->lag < lag_min_show && !lag_unknown)) {
/* small lag, don't display */