From 0bb2b6a9d4097ff075c0ca06aee70f26dd590590 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 13 Feb 2002 07:16:02 +0000 Subject: [PATCH] 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 --- src/fe-common/core/printtext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */