diff options
Diffstat (limited to 'src/wildcard.cpp')
-rw-r--r-- | src/wildcard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp index d34430c02..cc400b192 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -73,7 +73,7 @@ static bool match_internal(const unsigned char *str, const unsigned char *mask, CoreExport bool InspIRCd::Match(const std::string &str, const std::string &mask, unsigned const char *map) { if (!map) - map = national_case_sensitive_map; + map = national_case_insensitive_map; return match_internal((const unsigned char *)str.c_str(), (const unsigned char *)mask.c_str(), map); } @@ -81,7 +81,7 @@ CoreExport bool InspIRCd::Match(const std::string &str, const std::string &mask, CoreExport bool InspIRCd::Match(const char *str, const char *mask, unsigned const char *map) { if (!map) - map = national_case_sensitive_map; + map = national_case_insensitive_map; return match_internal((const unsigned char *)str, (const unsigned char *)mask, map); } @@ -91,7 +91,7 @@ CoreExport bool InspIRCd::MatchCIDR(const std::string &str, const std::string &m return true; if (!map) - map = national_case_sensitive_map; + map = national_case_insensitive_map; // Fall back to regular match return InspIRCd::Match(str, mask, map); @@ -103,7 +103,7 @@ CoreExport bool InspIRCd::MatchCIDR(const char *str, const char *mask, unsigned return true; if (!map) - map = national_case_sensitive_map; + map = national_case_insensitive_map; // Fall back to regular match return InspIRCd::Match(str, mask, map); |