diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-24 17:48:23 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-24 17:48:23 +0000 |
commit | cbcd51cb7f488bfa1086d60047ccd64b38593d0f (patch) | |
tree | 5e9fcf397be0eca9f7566c70f4f3296a7adf0cc3 /src | |
parent | b119a88b55e7f5f3260ff21e78a5c9d1cf491cc8 (diff) |
Put log-switching back into configreader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9023 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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) |