diff options
author | Timo Sirainen <cras@irssi.org> | 2002-03-10 15:07:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-03-10 15:07:57 +0000 |
commit | a868bbe1246ae623d9f12570c65c870e7256ad5c (patch) | |
tree | a63fedd4279991e077482b31103aad0c24605e96 /src | |
parent | ca234bdf5e88778e4cf569d3bb6d82b26c44163d (diff) | |
download | irssi-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')
-rw-r--r-- | src/fe-common/core/fe-core-commands.c | 6 |
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); |