diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-14 00:43:48 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-14 00:43:48 +0000 |
commit | f995b32ff4a570f3c35521e5d426286dd25c1c89 (patch) | |
tree | fac73998662b97f9c594da716fe32c8e3111ae79 /src/configreader.cpp | |
parent | 0fed3a06d0f889dc9429f74fcfff9398d2f29add (diff) |
More <log> stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index fe02bc2bd..e0dd021ba 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1175,6 +1175,9 @@ void ServerConfig::Read(bool bail, User* user, int pass) * stuff. Check that we have at least the required number * of whichever items. This is no longer done first. */ + /* Close all logs at this point and reopen <log method="file"> logs. */ + ServerInstance->Logs->CloseLogs(); + ServerInstance->Logs->OpenFileLogs(); ConfigReader* n = new ConfigReader(ServerInstance); FOREACH_MOD(I_OnReadConfig,OnReadConfig(this, n)); |