X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands.cpp;h=62029bd65bca84877cef414077ec114a8c85e553;hb=de184f9d627d26efebd2da1756b8d1d20656b6ad;hp=68ad224ae18fdd1494e3784a729e16353a10c72b;hpb=c16cda5d715241bb4bff8050bee942a8a34a72c0;p=user%2Fhenk%2Fcode%2Finspircd.git 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++; }