summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_access.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_access.cpp')
-rw-r--r--modules/chanserv/cs_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_access.cpp b/modules/chanserv/cs_access.cpp
index d3ca6e492..c7754b2ad 100644
--- a/modules/chanserv/cs_access.cpp
+++ b/modules/chanserv/cs_access.cpp
@@ -900,7 +900,7 @@ public:
for (int i = 0; i < conf.CountBlock("privilege"); ++i)
{
- Configuration::Block &priv = conf.GetBlock("privilege", i);
+ const auto &priv = conf.GetBlock("privilege", i);
const Anope::string &pname = priv.Get<const Anope::string>("name");