]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
Numerous fixes for m_dccallow - only the first banfile tag mattered, improper behavio...
[user/henk/code/inspircd.git] / src / server.cpp
index d583d87c3ebf1633ca90abf04d1ed2be00810f61..8879e1eb8181d5699ddb2c40fe5f2eb2f7cabcfe 100644 (file)
@@ -11,7 +11,7 @@
  * ---------------------------------------------------
  */
 
-/* $Core: libIRCDserver */
+/* $Core */
 
 #include <signal.h>
 #include "exitcodes.h"
@@ -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);
        }
 }