mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
ca234bdf5e
commit
a868bbe124
@ -136,8 +136,10 @@ static void cmd_cat(const char *data)
|
|||||||
recvlen = read(f, tmpbuf, sizeof(tmpbuf));
|
recvlen = read(f, tmpbuf, sizeof(tmpbuf));
|
||||||
|
|
||||||
ret = line_split(tmpbuf, recvlen, &str, &buffer);
|
ret = line_split(tmpbuf, recvlen, &str, &buffer);
|
||||||
if (ret > 0)
|
if (ret > 0) {
|
||||||
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP, "%s", str);
|
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP |
|
||||||
|
MSGLEVEL_NEVER, "%s", str);
|
||||||
|
}
|
||||||
} while (ret > 0);
|
} while (ret > 0);
|
||||||
line_split_free(buffer);
|
line_split_free(buffer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user