summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-05 00:31:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-05 00:31:29 +0000
commite808012628a7aa22e4efafd98c3535e0122e5153 (patch)
treeadeea3c8e0a40a3e6bab09b1a202c5dbd33dc9a5 /src/configreader.cpp
parent834994a7ce3d0396f62eba4685443752f4744ab3 (diff)
How about we abort if there were errors, not if there weren't any? Great idea...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-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:");