]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Change the function name because gcc is dumb :/
[user/henk/code/inspircd.git] / src / configreader.cpp
index 2c5d01ee14f0f262686312b1ab800b1e6b5c16b0..df7721e826adfe0d4bc5ac327fc3c318d8b49c0e 100644 (file)
@@ -1145,12 +1145,12 @@ void ServerConfig::Read(bool bail, User* user)
        // write once here, to try it out and make sure its ok
        ServerInstance->WritePID(this->PID);
 
-       ServerInstance->Log(DEFAULT,"Done reading configuration file.");
-
        /* Switch over logfiles */
        ServerInstance->Logs->CloseLogs();
        ServerInstance->Logs->OpenFileLogs();
 
+       ServerInstance->Logs->Log("CONFIG", DEFAULT, "Done reading configuration file.");
+
        /* If we're rehashing, let's load any new modules, and unload old ones
         */
        if (!bail)
@@ -1215,7 +1215,7 @@ void ServerConfig::Read(bool bail, User* user)
                        }
                }
 
-               ServerInstance->Log(DEFAULT,"Successfully unloaded %lu of %lu modules and loaded %lu of %lu modules.",(unsigned long)rem,(unsigned long)removed_modules.size(),(unsigned long)add,(unsigned long)added_modules.size());
+               ServerInstance->Logs->Log("CONFIG", DEFAULT, "Successfully unloaded %lu of %lu modules and loaded %lu of %lu modules.",(unsigned long)rem,(unsigned long)removed_modules.size(),(unsigned long)add,(unsigned long)added_modules.size());
 
                ServerInstance->Threads->Mutex(false);