summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/hashcomp.h2
-rw-r--r--src/modules/m_alias.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 03ade20d1..45aa17e58 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -57,7 +57,7 @@ unsigned const char rfc_case_insensitive_map[256] = {
/**
* Case sensitive map. As per rfc_case_insensitive_map, but case sensitive. duh.
*/
-unsigned const char case_sensitive_map[256] = {
+unsigned const char rfc_case_sensitive_map[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index ad5f84034..dfafabed3 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -266,7 +266,7 @@ class ModuleAlias : public Module
{
if (a->CaseSensitive)
{
- if (InspIRCd::Match(compare, a->format, case_sensitive_map))
+ if (InspIRCd::Match(compare, a->format, rfc_case_sensitive_map))
return 0;
}
else