summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 15:42:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 15:42:31 +0000
commitb15212c6463b1588e48eb52eba9bb4eaab90092d (patch)
tree4221abec284edefee7dad37f3c93f81435634f00 /src/hashcomp.cpp
parentbb81e1a5f38b1d6487e53aa5ac69ca7ced9f6562 (diff)
lowertab -> lowermap
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3597 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r--src/hashcomp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 10e1f331e..7ce1651f5 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -88,9 +88,9 @@ bool irc::StrHashComp::operator()(const std::string& s1, const std::string& s2)
char* n1 = (char*)s1.c_str();
char* n2 = (char*)s2.c_str();
for (; *n1 && *n2; n1++, n2++)
- if (lowertab[*n1] != lowertab[*n2])
+ if (lowermap[*n1] != lowermap[*n2])
return false;
- return (lowertab[*n1] == lowertab[*n2]);
+ return (lowermap[*n1] == lowermap[*n2]);
}
bool irc::InAddr_HashComp::operator()(const in_addr &s1, const in_addr &s2) const