summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-12-10 13:48:57 +0000
committerPeter Powell <petpow@saberuk.com>2017-12-23 12:13:06 +0000
commit57330e973b3eb1f2a84803c84daf9d6b420859fd (patch)
tree7391111eb7d41008268d81f084f82c5f5f2dcff1 /src/socketengine.cpp
parentb6f57c0f06f4905b04de6ec2069522d2263626c4 (diff)
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.
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp2
1 files changed, 1 insertions, 1 deletions
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()