summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kill.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-03-20 14:13:12 +0000
committerPeter Powell <petpow@saberuk.com>2015-03-20 19:59:15 +0000
commitf543c4516a66b2eb371121a7189da58ed9f60722 (patch)
tree79a7eee08f67800f1451e97db1f7ddf01621b1da /src/commands/cmd_kill.cpp
parentc85a46ff97c03b28bfb54578c5ff851f47af8419 (diff)
Fix exposing the opers hostname in KILL when using hidekills.
Diffstat (limited to 'src/commands/cmd_kill.cpp')
-rw-r--r--src/commands/cmd_kill.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>& 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());
}