diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-05 00:31:29 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-08-05 00:31:29 +0000 |
commit | e808012628a7aa22e4efafd98c3535e0122e5153 (patch) | |
tree | adeea3c8e0a40a3e6bab09b1a202c5dbd33dc9a5 /src | |
parent | 834994a7ce3d0396f62eba4685443752f4744ab3 (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')
-rw-r--r-- | src/configreader.cpp | 2 |
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:"); |