diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-16 12:32:47 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-16 12:32:47 +0200 |
commit | 7e0e54eba331339606265a8a4e11417bb2f832ba (patch) | |
tree | 42853fb81602676e3888c1c8dd95ca85ae34b2e0 /src/modules/m_ldapoper.cpp | |
parent | 046da7da9bf57ac9254f76fd1c43eadf1673cdf5 (diff) |
Move typedef OperIndex to ServerConfig::OperIndex
Diffstat (limited to 'src/modules/m_ldapoper.cpp')
-rw-r--r-- | src/modules/m_ldapoper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ldapoper.cpp b/src/modules/m_ldapoper.cpp index 36238f846..9deb9a203 100644 --- a/src/modules/m_ldapoper.cpp +++ b/src/modules/m_ldapoper.cpp @@ -83,7 +83,7 @@ class BindInterface : public LDAPOperBase void OnResult(const LDAPResult& r) CXX11_OVERRIDE { User* user = ServerInstance->FindUUID(uid); - OperIndex::iterator iter = ServerInstance->Config->oper_blocks.find(opername); + ServerConfig::OperIndex::const_iterator iter = ServerInstance->Config->oper_blocks.find(opername); if (!user || iter == ServerInstance->Config->oper_blocks.end()) { @@ -208,7 +208,7 @@ class ModuleLDAPAuth : public Module const std::string& opername = parameters[0]; const std::string& password = parameters[1]; - OperIndex::iterator it = ServerInstance->Config->oper_blocks.find(opername); + ServerConfig::OperIndex::const_iterator it = ServerInstance->Config->oper_blocks.find(opername); if (it == ServerInstance->Config->oper_blocks.end()) return MOD_RES_PASSTHRU; |