diff options
| author | 2017-10-16 04:14:37 +0100 | |
|---|---|---|
| committer | 2017-10-17 20:29:15 +0100 | |
| commit | aac644de3da4fe76dc912f6c8ef451c2dc75509c (patch) | |
| tree | 61c06794b904385d912c3ae8a28b7ef20ea7d0d8 /src/inspircd.cpp | |
| parent | Un-constify the private fields of WebIRCHost. (diff) | |
Clean up the command disabling logic.
- Read the disabled command list in ApplyDisabledCommands() instead
of storing it in a global which is only accessed on rehash.
- Write debug messages to the log when disabling commands.
- Use irc::spacesepstream instead of std::stringstream.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 47660f752..397516939 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -427,7 +427,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : // Build ISupport as ModuleManager::LoadAll() does not do it this->ISupport.Build(); - Config->ApplyDisabledCommands(Config->DisabledCommands); + Config->ApplyDisabledCommands(); if (!pl.empty()) { |
