1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/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
This commit is contained in:
Timo Sirainen 2002-03-10 15:07:57 +00:00 committed by cras
parent ca234bdf5e
commit a868bbe124

View File

@ -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);