diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hashcomp.cpp | 4 |
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 |