diff options
Diffstat (limited to 'src/modules/m_ldapoper.cpp')
| -rw-r--r-- | src/modules/m_ldapoper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ldapoper.cpp b/src/modules/m_ldapoper.cpp index 342fbc3f3..40be350de 100644 --- a/src/modules/m_ldapoper.cpp +++ b/src/modules/m_ldapoper.cpp @@ -226,7 +226,7 @@ public: return MOD_RES_PASSTHRU; std::string acceptedhosts = it->second->GetConfig()->getString("host"); - if (!InspIRCd::MatchMask(acceptedhosts, user->MakeHost(), user->MakeHostIP())) + if (!InspIRCd::MatchMask(acceptedhosts, user->GetRealUserHost(), user->GetUserAddress())) return MOD_RES_PASSTHRU; if (!LDAP) |
