From c2ba8b5db174ccf9b6fb216a4ca4a161f3dbd471 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 1 Oct 2016 21:51:28 -0400 Subject: cmd_kill: don't show kill path in KILL messages to users --- src/coremods/core_oper/cmd_kill.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/coremods') 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& 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(); -- cgit v1.2.3