From 0a3159121e15decec9bcb82c836158a817bba894 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 28 Aug 2008 19:45:21 +0000 Subject: 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 --- src/commands.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands.cpp') 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++; } -- cgit v1.2.3