X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fserver.cpp;h=01f523e4708ff5af90efed6af6b4f82210cbeaaf;hb=a245aa22076e17e72c84e5a0f5699209cdf62727;hp=c7ebc187eb55c93442268e77b2e87166b6cb0902;hpb=e7150d29f4897d595c9ee2218e190d6cf42f191b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/server.cpp b/src/server.cpp index c7ebc187e..01f523e47 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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); } }