]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
initialise mutexengine
[user/henk/code/inspircd.git] / src / inspircd.cpp
index dab49ddf0cc84a703ab209e5fcf3600da153a4b8..875755ed77f497c9bd1ffb65e49a5163c033a3b1 100644 (file)
@@ -77,6 +77,10 @@ const char* ExitCodes[] =
                "Couldn't load module on startup", /* 13 */
                "Could not create windows forked process", /* 14 */
                "Received SIGTERM", /* 15 */
+               "Bad command handler loaded", /* 16 */
+               "RegisterServiceCtrlHandler failed", /* 17 */
+               "UpdateSCMStatus failed", /* 18 */
+               "CreateEvent failed" /* 19 */
 };
 
 void InspIRCd::Cleanup()
@@ -454,6 +458,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
        ThreadEngineFactory* tef = new ThreadEngineFactory();
        this->Threads = tef->Create(this);
        delete tef;
+       this->Mutexes = new MutexEngine(this);
 
        /* Default implementation does nothing */
        this->PI = new ProtocolInterface(this);