summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 12e33ad34..ef12dda64 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1158,6 +1158,10 @@ void ServerConfig::Read(bool bail, User* user)
ServerInstance->Log(DEFAULT,"Done reading configuration file.");
+ /* Switch over logfiles */
+ ServerInstance->Logs->CloseLogs();
+ ServerInstance->Logs->OpenFileLogs();
+
/* If we're rehashing, let's load any new modules, and unload old ones
*/
if (!bail)