diff options
| author | 2014-04-07 13:40:51 +0200 | |
|---|---|---|
| committer | 2014-04-07 13:40:51 +0200 | |
| commit | f71e6bf9cb41811f18864f5d4eecb26e29d03f25 (patch) | |
| tree | 88586e73f7ff864081b8831a88637680267b7201 /src/configreader.cpp | |
| parent | m_override Deduplicate code (diff) | |
| parent | Release 2.0.16 (diff) | |
Merge insp20
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index baeffb015..cda5e03e0 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -586,7 +586,10 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) User* user = useruid.empty() ? NULL : ServerInstance->FindNick(useruid); if (!valid) + { ServerInstance->Logs->Log("CONFIG", LOG_DEFAULT, "There were errors in your configuration file:"); + Classes.clear(); + } while (errstr.good()) { |
