]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
cmd_kill: don't show kill path in KILL messages to users
authorAdam <Adam@anope.org>
Sun, 2 Oct 2016 01:51:28 +0000 (21:51 -0400)
committerAdam <Adam@anope.org>
Wed, 12 Jul 2017 22:56:37 +0000 (18:56 -0400)
src/coremods/core_oper/cmd_kill.cpp

index 815b0c063da8206ee9698943cefcf68c673f930a..f024f6b0d195feebdc18d2e1b34a3a86ba9c2790 100644 (file)
@@ -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();