diff options
-rw-r--r-- | src/configreader.cpp | 4 |
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) |