mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Autologging: if we're already logging the item somewhere else, make sure
that log file is open. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@503 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
edfbd51827
commit
360149891c
@ -302,7 +302,10 @@ static void autolog_log(void *server, const char *target)
|
||||
char *fname, *dir, *str;
|
||||
|
||||
log = log_find_item(target);
|
||||
if (log != NULL) return;
|
||||
if (log != NULL) {
|
||||
log_start_logging(log);
|
||||
return;
|
||||
}
|
||||
|
||||
fname = parse_special_string(autolog_path, server, NULL, target, NULL);
|
||||
if (log_find(fname) == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user