From 57330e973b3eb1f2a84803c84daf9d6b420859fd Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 10 Dec 2017 13:48:57 +0000 Subject: Get rid of InspIRCd::QuickExit. This is just a thin wrapper around exit(). I don't think we really need it. While we are changing this code the setgroup/setuser code should be using EXIT_STATUS_CONFIG too. --- src/socketengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengine.cpp') diff --git a/src/socketengine.cpp b/src/socketengine.cpp index 58e15af44..986726f3a 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -66,7 +66,7 @@ void EventHandler::OnEventHandlerError(int errornum) void SocketEngine::InitError() { std::cerr << con_red << "FATAL ERROR!" << con_reset << " Socket engine initialization failed. " << strerror(errno) << '.' << std::endl; - ServerInstance->QuickExit(EXIT_STATUS_SOCKETENGINE); + exit(EXIT_STATUS_SOCKETENGINE); } void SocketEngine::LookupMaxFds() -- cgit v1.3.1-10-gc9f91