summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-13 07:16:02 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-13 07:16:02 +0000
commit0bb2b6a9d4097ff075c0ca06aee70f26dd590590 (patch)
tree437bd0d2ab84a647cda41240a11dc2cdd5e66908 /src/fe-common
parentc0980aacdd120c99fa778e2268bedb839f1c2986 (diff)
downloadirssi-0bb2b6a9d4097ff075c0ca06aee70f26dd590590.zip
don't update window->last_line timestamp with MSGLEVEL_NEVER text, so >1d
/SET autoclose_query setting works with "day changed" messagse. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2433 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/printtext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c
index 1900adec..2f6c19ea 100644
--- a/src/fe-common/core/printtext.c
+++ b/src/fe-common/core/printtext.c
@@ -416,7 +416,8 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
msg_beep_check(dest);
- dest->window->last_line = time(NULL);
+ if ((dest->level & MSGLEVEL_NEVER) == 0)
+ dest->window->last_line = time(NULL);
/* add timestamp/server tag here - if it's done in print_line()
it would be written to log files too */