1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05: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:
Timo Sirainen 2000-07-22 16:02:50 +00:00 committed by cras
parent edfbd51827
commit 360149891c

View File

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