summaryrefslogtreecommitdiff
path: root/modules/ldap_authentication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ldap_authentication.cpp')
-rw-r--r--modules/ldap_authentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ldap_authentication.cpp b/modules/ldap_authentication.cpp
index 5ca00bdf9..f0e37506b 100644
--- a/modules/ldap_authentication.cpp
+++ b/modules/ldap_authentication.cpp
@@ -220,7 +220,7 @@ public:
void OnReload(Configuration::Conf &config) override
{
- Configuration::Block &conf = Config->GetModule(this);
+ const auto &conf = Config->GetModule(this);
basedn = conf.Get<const Anope::string>("basedn");
search_filter = conf.Get<const Anope::string>("search_filter");