diff options
author | Adam <Adam@anope.org> | 2016-10-01 21:51:28 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-07-12 18:56:37 -0400 |
commit | c2ba8b5db174ccf9b6fb216a4ca4a161f3dbd471 (patch) | |
tree | 5631f99c2dacbdd0c694b51e68511409ef2df8e1 /src | |
parent | f1c549afbb6bad74bd9dfa6557604a66eb1afc72 (diff) |
cmd_kill: don't show kill path in KILL messages to users
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_oper/cmd_kill.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/coremods/core_oper/cmd_kill.cpp b/src/coremods/core_oper/cmd_kill.cpp index 815b0c063..f024f6b0d 100644 --- a/src/coremods/core_oper/cmd_kill.cpp +++ b/src/coremods/core_oper/cmd_kill.cpp @@ -118,11 +118,9 @@ CmdResult CommandKill::Handle (const std::vector<std::string>& parameters, User ServerInstance->Logs->Log("KILL", LOG_DEFAULT, "LOCAL KILL: %s :%s!%s!%s (%s)", u->nick.c_str(), ServerInstance->Config->ServerName.c_str(), user->dhost.c_str(), user->nick.c_str(), parameters[1].c_str()); - u->Write(":%s KILL %s :%s!%s!%s (%s)", ServerInstance->Config->HideKillsServer.empty() ? user->GetFullHost().c_str() : ServerInstance->Config->HideKillsServer.c_str(), + u->Write(":%s KILL %s :%s", + ServerInstance->Config->HideKillsServer.empty() ? user->GetFullHost().c_str() : ServerInstance->Config->HideKillsServer.c_str(), u->nick.c_str(), - ServerInstance->Config->ServerName.c_str(), - ServerInstance->Config->HideKillsServer.empty() ? user->dhost.c_str() : ServerInstance->Config->HideKillsServer.c_str(), - ServerInstance->Config->HideKillsServer.empty() ? user->nick.c_str() : ServerInstance->Config->HideKillsServer.c_str(), parameters[1].c_str()); this->lastuuid.clear(); |