summaryrefslogtreecommitdiff
path: root/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'logging.c')
-rw-r--r--logging.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/logging.c b/logging.c
index a3eac5b..d0ad1a5 100644
--- a/logging.c
+++ b/logging.c
@@ -341,7 +341,6 @@ int logline(char *str, struct ircdstate *ircdstate, char *basedir, int type) {
if (fp == NULL) {
debugprint(DEBUG_CRIT, "error: could not open log file '%s' for writing.\n", filename);
printf("error: could not open log file '%s' for writing.\n", filename);
- fclose(fp);
return 0;
}