From f543c4516a66b2eb371121a7189da58ed9f60722 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 20 Mar 2015 14:13:12 +0000 Subject: Fix exposing the opers hostname in KILL when using hidekills. --- src/commands/cmd_kill.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_kill.cpp') diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index 17c8a76a0..99ac39d42 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -134,7 +134,7 @@ CmdResult CommandKill::Handle (const std::vector& parameters, User u->Write(":%s KILL %s :%s!%s!%s (%s)", ServerInstance->Config->HideKillsServer.empty() ? user->GetFullHost().c_str() : ServerInstance->Config->HideKillsServer.c_str(), u->nick.c_str(), ServerInstance->Config->ServerName.c_str(), - user->dhost.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()); } -- cgit v1.2.3