Complain only once with autologging if opening some log file failed

(locked by another irssi)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@734 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-13 21:53:25 +00:00 committed by cras
commit 28f3e476da
3 changed files with 5 additions and 1 deletions

View file

@ -295,7 +295,7 @@ static void autolog_log(void *server, const char *target)
char *fname, *dir, *str;
log = log_find_item(target);
if (log != NULL) {
if (log != NULL && !log->failed) {
log_start_logging(log);
return;
}