summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-core-commands.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-10 15:07:57 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-10 15:07:57 +0000
commita868bbe1246ae623d9f12570c65c870e7256ad5c (patch)
treea63fedd4279991e077482b31103aad0c24605e96 /src/fe-common/core/fe-core-commands.c
parentca234bdf5e88778e4cf569d3bb6d82b26c44163d (diff)
downloadirssi-a868bbe1246ae623d9f12570c65c870e7256ad5c.zip
/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
Diffstat (limited to 'src/fe-common/core/fe-core-commands.c')
-rw-r--r--src/fe-common/core/fe-core-commands.c6
1 files 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);