]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Put log-switching back into configreader
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Feb 2008 17:48:23 +0000 (17:48 +0000)
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Feb 2008 17:48:23 +0000 (17:48 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9023 e03df62e-2008-0410-955e-edbf42e46eb7

src/configreader.cpp

index 12e33ad34d216ce8a6e15b0488dc5d263675ca7c..ef12dda642b0a077d0b88f4205b8d7b0ea064622 100644 (file)
@@ -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)