summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_ban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_ban.cpp')
-rw-r--r--modules/chanserv/cs_ban.cpp2
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> &params) 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)