X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fserver.cpp;h=8879e1eb8181d5699ddb2c40fe5f2eb2f7cabcfe;hb=f7730d08b695019c84a0b5961d8fb6bdb67365b9;hp=a87612449cff0c3f1818b0569e007bfdeadd035d;hpb=6a869d0701bbfe3c7a5e370793adfda4b5b45c65;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/server.cpp b/src/server.cpp index a87612449..8879e1eb8 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -36,6 +36,7 @@ void InspIRCd::Exit(int status) #ifdef WINDOWS if (WindowsIPC) delete WindowsIPC; + SetServiceStopped(status); #endif if (this) { @@ -52,10 +53,10 @@ void RehashHandler::Call(const std::string &reason) FOREACH_MOD_I(Server, I_OnGarbageCollect, OnGarbageCollect()); if (!Server->ConfigThread) { - Server->Config->RehashUser = NULL; + Server->Config->RehashUserUID = ""; Server->Config->RehashParameter = ""; - Server->ConfigThread = new ConfigReaderThread(Server, false, NULL); + Server->ConfigThread = new ConfigReaderThread(Server, false, ""); Server->Threads->Create(Server->ConfigThread); } }