summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_set_misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_set_misc.cpp')
-rw-r--r--modules/chanserv/cs_set_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_set_misc.cpp b/modules/chanserv/cs_set_misc.cpp
index 58650f557..f41eb3301 100644
--- a/modules/chanserv/cs_set_misc.cpp
+++ b/modules/chanserv/cs_set_misc.cpp
@@ -205,7 +205,7 @@ public:
for (int i = 0; i < conf.CountBlock("command"); ++i)
{
- Configuration::Block &block = conf.GetBlock("command", i);
+ const auto &block = conf.GetBlock("command", i);
if (block.Get<const Anope::string>("command") != "chanserv/set/misc")
continue;