summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/conf.c b/src/conf.c
index af5c662..ff564f6 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1287,11 +1287,8 @@ rehash(int sig)
load_conf_modules();
rehashed_klines = 1;
-/* XXX */
- if (ConfigLoggingEntry.use_logging)
- log_close_all();
- return(0);
+ return 0;
}
/* set_default_conf()
@@ -1338,7 +1335,7 @@ set_default_conf(void)
AdminInfo.email = NULL;
AdminInfo.description = NULL;
- log_close_all();
+ log_del_all();
ConfigLoggingEntry.use_logging = 1;
@@ -1774,6 +1771,8 @@ read_conf_files(int cold)
read_conf(conf_parser_ctx.conf_file);
fclose(conf_parser_ctx.conf_file);
+ log_reopen_all();
+
add_isupport("NICKLEN", NULL, ServerInfo.max_nick_length);
add_isupport("NETWORK", ServerInfo.network_name, -1);