]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
Show config warnings/errors regardless of loglevel on startup.
[user/henk/code/inspircd.git] / src / server.cpp
index c7ebc187eb55c93442268e77b2e87166b6cb0902..01f523e4708ff5af90efed6af6b4f82210cbeaaf 100644 (file)
@@ -48,15 +48,12 @@ void InspIRCd::Exit(int status)
 
 void RehashHandler::Call(const std::string &reason)
 {
-       Server->SNO->WriteToSnoMask('A', "Rehashing config file %s %s",ServerConfig::CleanFilename(Server->ConfigFileName), reason.c_str());
+       Server->SNO->WriteToSnoMask('a', "Rehashing config file %s %s",ServerConfig::CleanFilename(Server->ConfigFileName), reason.c_str());
        Server->RehashUsersAndChans();
        FOREACH_MOD_I(Server, I_OnGarbageCollect, OnGarbageCollect());
        if (!Server->ConfigThread)
        {
-               Server->Config->RehashUserUID = "";
-               Server->Config->RehashParameter = "";
-
-               Server->ConfigThread = new ConfigReaderThread(Server, false, "");
+               Server->ConfigThread = new ConfigReaderThread(Server, "");
                Server->Threads->Start(Server->ConfigThread);
        }
 }