diff options
Diffstat (limited to 'src/commands/cmd_rehash.cpp')
-rw-r--r-- | src/commands/cmd_rehash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index cab593457..28ae32a0d 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 (!ServerInstance->MatchText(ServerInstance->Config->ServerName, parameters[0])) + if (!InspIRCd::Match(ServerInstance->Config->ServerName, parameters[0], lowermap)) { FOREACH_MOD(I_OnRehash,OnRehash(user, parameters[0])); return CMD_SUCCESS; // rehash for a server, and not for us |