]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Tidy up some of the internals a bit, making things a bit more extensible and future...
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 550baa027d2c4e34500e16d51af887a2656c383b..96b7792716942c6984e657ea4d2bb4f8a3c846b7 100644 (file)
@@ -78,12 +78,9 @@ const char* ExitCodes[] =
                "Could not create windows forked process", /* 14 */
                "Received SIGTERM", /* 15 */
                "Bad command handler loaded", /* 16 */
-               "Windows service specific error 1", /* 17 - Dont know what to call these yet, will give them */
-               "Windows service specific error 2", /* 18 - better descriptions later on */
-               "Windows service specific error 3", /* 19 */
-               "Windows service specific error 4", /* 20 */
-               "Windows service specific error 5", /* 21 */
-               "Windows service specific error 6"  /* 22 */
+               "RegisterServiceCtrlHandler failed", /* 17 */
+               "UpdateSCMStatus failed", /* 18 */
+               "CreateEvent failed" /* 19 */
 };
 
 void InspIRCd::Cleanup()
@@ -461,6 +458,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
        ThreadEngineFactory* tef = new ThreadEngineFactory();
        this->Threads = tef->Create(this);
        delete tef;
+       this->Mutexes = new MutexFactory(this);
 
        /* Default implementation does nothing */
        this->PI = new ProtocolInterface(this);