diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-28 19:45:21 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-28 19:45:21 +0000 |
commit | 0a3159121e15decec9bcb82c836158a817bba894 (patch) | |
tree | 778ed6bfd9a92c5ff2a12e830c8ec450c2057ac4 /src/commands.cpp | |
parent | ed1dd51ef7fbf396ecfa77350b67ed8a4c0be29c (diff) |
Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust files to not pass lowermap directly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 68ad224ae..62029bd65 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -32,8 +32,8 @@ bool InspIRCd::HostMatchesEveryone(const std::string &mask, User* user) for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++) { - if ((InspIRCd::Match(u->second->MakeHost(), mask, lowermap)) || - (InspIRCd::Match(u->second->MakeHostIP(), mask, lowermap))) + if ((InspIRCd::Match(u->second->MakeHost(), mask)) || + (InspIRCd::Match(u->second->MakeHostIP(), mask))) { matches++; } @@ -64,7 +64,7 @@ bool InspIRCd::IPMatchesEveryone(const std::string &ip, User* user) for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++) { - if (InspIRCd::Match(u->second->GetIPString(), ip, lowermap)) + if (InspIRCd::Match(u->second->GetIPString(), ip)) matches++; } @@ -93,7 +93,7 @@ bool InspIRCd::NickMatchesEveryone(const std::string &nick, User* user) for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++) { - if (InspIRCd::Match(u->second->nick, nick, lowermap)) + if (InspIRCd::Match(u->second->nick, nick)) matches++; } |