diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_list.cpp | 2 | ||||
-rw-r--r-- | src/commands/cmd_rehash.cpp | 2 | ||||
-rw-r--r-- | src/commands/cmd_who.cpp | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/commands/cmd_list.cpp b/src/commands/cmd_list.cpp index d4abfd437..900946eaf 100644 --- a/src/commands/cmd_list.cpp +++ b/src/commands/cmd_list.cpp @@ -53,7 +53,7 @@ CmdResult CommandList::Handle (const std::vector<std::string>& parameters, User if (parameters.size() && (parameters[0][0] != '<' || parameters[0][0] == '>')) { - if (!InspIRCd::Match(i->second->name, parameters[0], lowermap) && !InspIRCd::Match(i->second->topic, parameters[0], lowermap)) + if (!InspIRCd::Match(i->second->name, parameters[0]) && !InspIRCd::Match(i->second->topic, parameters[0])) continue; } diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 28ae32a0d..9a9384af5 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -28,7 +28,7 @@ CmdResult CommandRehash::Handle (const std::vector<std::string>& parameters, Use if (parameters.size() && parameters[0][0] != '-') { - if (!InspIRCd::Match(ServerInstance->Config->ServerName, parameters[0], lowermap)) + if (!InspIRCd::Match(ServerInstance->Config->ServerName, parameters[0])) { FOREACH_MOD(I_OnRehash,OnRehash(user, parameters[0])); return CMD_SUCCESS; // rehash for a server, and not for us diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index 1ce4e4c28..403ec5f64 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -71,11 +71,11 @@ bool CommandWho::whomatch(User* user, const char* matchtext) if (opt_metadata) match = user->GetExt(matchtext, dummy); else if (opt_realname) - match = InspIRCd::Match(user->fullname, matchtext, lowermap); + match = InspIRCd::Match(user->fullname, matchtext); else if (opt_showrealhost) - match = InspIRCd::Match(user->host, matchtext, lowermap); + match = InspIRCd::Match(user->host, matchtext); else if (opt_ident) - match = InspIRCd::Match(user->ident, matchtext, lowermap); + match = InspIRCd::Match(user->ident, matchtext); else if (opt_port) { irc::portparser portrange(matchtext, false); @@ -88,7 +88,7 @@ bool CommandWho::whomatch(User* user, const char* matchtext) } } else if (opt_away) - match = InspIRCd::Match(user->awaymsg, matchtext, lowermap); + match = InspIRCd::Match(user->awaymsg, matchtext); else if (opt_time) { long seconds = ServerInstance->Duration(matchtext); @@ -106,13 +106,13 @@ bool CommandWho::whomatch(User* user, const char* matchtext) * -- w00t */ if (!match) - match = InspIRCd::Match(user->dhost, matchtext, lowermap); + match = InspIRCd::Match(user->dhost, matchtext); if (!match) - match = InspIRCd::Match(user->nick, matchtext, lowermap); + match = InspIRCd::Match(user->nick, matchtext); if (!match) - match = InspIRCd::Match(user->server, matchtext, lowermap); + match = InspIRCd::Match(user->server, matchtext); return match; } |