summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-13 21:53:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-13 21:53:25 +0000
commit28f3e476dab7197a69c2afccfb87752f6e6b242a (patch)
tree09e4b8c2cb6a5c0d71907e81e39f2f4af697e8d2 /src/fe-common
parent0ef25c9fb4666f0eb4bea19eace62479de2f6cab (diff)
downloadirssi-28f3e476dab7197a69c2afccfb87752f6e6b242a.zip
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
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c
index bd1aa2cc..ccde5e1c 100644
--- a/src/fe-common/core/fe-log.c
+++ b/src/fe-common/core/fe-log.c
@@ -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;
}