diff options
Diffstat (limited to 'modules/chanserv/cs_ban.cpp')
-rw-r--r-- | modules/chanserv/cs_ban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_ban.cpp b/modules/chanserv/cs_ban.cpp index dca9e8bbf..2696a1978 100644 --- a/modules/chanserv/cs_ban.cpp +++ b/modules/chanserv/cs_ban.cpp @@ -50,7 +50,7 @@ public: void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override { - Configuration::Block &block = Config->GetCommand(source); + const auto &block = Config->GetCommand(source); const Anope::string &mode = block.Get<Anope::string>("mode", "BAN"); ChannelMode *cm = ModeManager::FindChannelModeByName(mode); if (cm == NULL) |