diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-07 19:01:43 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-07 19:01:43 +0000 |
commit | 275f58a955407eda93c451273bee48e1637e3b4a (patch) | |
tree | a5a4205fe00dfef640c16604f1c83a00d9494ee4 | |
parent | 5f76d4b78df189699924f53eff6eb659e8f35091 (diff) |
national_case_sensitive_map -> national_case_insensitive_map.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10861 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/hashcomp.h | 2 | ||||
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/wildcard.cpp | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index a7122c72c..25c2b0dc6 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -60,7 +60,7 @@ unsigned const char rfc_case_insensitive_map[256] = { * This is provided as a pointer so that modules can change it to their custom mapping tables, * e.g. for national character support. */ -extern unsigned const char *national_case_sensitive_map; +extern unsigned const char *national_case_insensitive_map; /** Case insensitive map, ASCII rules. * That is; diff --git a/src/inspircd.cpp b/src/inspircd.cpp index be88f3ae1..72b161b9b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -60,7 +60,7 @@ int* mysig = NULL; * This is provided as a pointer so that modules can change it to their custom mapping tables, * e.g. for national character support. */ -unsigned const char *national_case_sensitive_map = rfc_case_insensitive_map; +unsigned const char *national_case_insensitive_map = rfc_case_insensitive_map; /* Moved from exitcodes.h -- due to duplicate symbols -- Burlex 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); |