diff options
Diffstat (limited to 'src/modules/m_conn_umodes.cpp')
-rw-r--r-- | src/modules/m_conn_umodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp index 6abf416aa..f63c13e36 100644 --- a/src/modules/m_conn_umodes.cpp +++ b/src/modules/m_conn_umodes.cpp @@ -64,7 +64,7 @@ class ModuleModesOnConnect : public Module { std::string hostn = Conf->ReadValue("connect","allow",j); /* XXX: Fixme: does not respect port, limit, etc */ - if ((InspIRCd::MatchCIDR(user->GetIPString(),hostn)) || (InspIRCd::Match(user->host,hostn))) + if ((InspIRCd::MatchCIDR(user->GetIPString(),hostn, ascii_case_insensitive_map)) || (InspIRCd::Match(user->host,hostn, ascii_case_insensitive_map))) { std::string ThisModes = Conf->ReadValue("connect","modes",j); if (!ThisModes.empty()) |