mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
log_write_rec(): added level parameter. writing /LASTLOG to log files
doesn't anymore print the current timestamp at the start of line since /LASTLOG messages have their original timestamp already. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c0726196ea
commit
e5f1216797
3 changed files with 18 additions and 15 deletions
|
|
@ -397,7 +397,7 @@ static void log_single_line(WINDOW_REC *window, void *server,
|
|||
ltoa(windownum, window->refnum);
|
||||
log = logs_find_item(LOG_ITEM_WINDOW_REFNUM,
|
||||
windownum, NULL, NULL);
|
||||
if (log != NULL) log_write_rec(log, text);
|
||||
if (log != NULL) log_write_rec(log, text, level);
|
||||
|
||||
if (target == NULL)
|
||||
log_file_write(server, NULL, level, text, FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue