From 783048c6dca6fb6f612d0f613b875d4ff1a2eda3 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Dec 2008 18:32:08 +0000 Subject: Convert necessary match calls to use ASCII casemap. 1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index b715f437c..0a777cf22 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -370,7 +370,7 @@ class ModuleIdent : 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))) { bool useident = Conf->ReadFlag("connect", "useident", j); -- cgit v1.2.3