From a868bbe1246ae623d9f12570c65c870e7256ad5c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 10 Mar 2002 15:07:57 +0000 Subject: [PATCH] /CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren't printed. Also since /AWAY prints the awaylog using /CAT, we don't get timestamps there either now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-core-commands.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index cf7938ea..d50b23e5 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -136,8 +136,10 @@ static void cmd_cat(const char *data) recvlen = read(f, tmpbuf, sizeof(tmpbuf)); ret = line_split(tmpbuf, recvlen, &str, &buffer); - if (ret > 0) - printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP, "%s", str); + if (ret > 0) { + printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP | + MSGLEVEL_NEVER, "%s", str); + } } while (ret > 0); line_split_free(buffer);