aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 110dc9172..3a0b70534 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -37,7 +37,6 @@
#include "inspircd.h"
#include "configparser.h"
-#include "exitcodes.h"
ServerConfig::ReadResult::ReadResult(const std::string& c, const std::string& e)
: contents(c)
@@ -528,7 +527,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string& useruid)
{
if (!valid)
{
- ServerInstance->Exit(EXIT_STATUS_CONFIG);
+ ServerInstance->Exit(EXIT_FAILURE);
}
return;