summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index fd1b041fc..8a2f87eea 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1196,7 +1196,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid)
User* user = useruid.empty() ? NULL : ServerInstance->FindNick(useruid);
- errors = errstr.str().empty();
+ errors = !errstr.str().empty();
if (errors)
ServerInstance->Logs->Log("CONFIG",DEFAULT, "There were errors in your configuration file:");