diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/configreader.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index db897b6cc..5ae64f8c3 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1223,7 +1223,14 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) /* No old configuration -> initial boot, nothing more to do here */ if (!old) + { + if (errors) + { + ServerInstance->Exit(EXIT_STATUS_CONFIG); + } + return; + } // If there were errors processing configuration, don't touch modules. if (errors) |