]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine_kqueue.cpp
Fix segfault on 'cant open logfile' on startup, on trying to call Exit. instead just...
[user/henk/code/inspircd.git] / src / socketengine_kqueue.cpp
index 7fcdae2b6a58084056cb25268e9b2e1365fb253a..246b5e524a6307313f6391b9633c15d0e86ba52a 100644 (file)
@@ -28,7 +28,7 @@ KQueueEngine::KQueueEngine(InspIRCd* Instance) : SocketEngine(Instance)
                ServerInstance->Log(SPARSE,"ERROR: this is a fatal error, exiting now.");
                printf("ERROR: Could not initialize socket engine. Your kernel probably does not have the proper features.");
                printf("ERROR: this is a fatal error, exiting now.");
-               InspIRCd::Exit(EXIT_STATUS_SOCKETENGINE);
+               ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE);
        }
        CurrentSetSize = 0;
 }