summaryrefslogtreecommitdiff
path: root/src/cmd_kill.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-10 17:46:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-10 17:46:03 +0000
commit2f3ba31bae659112d3b595f895ea60532fb864f8 (patch)
treebba10ad89b017b7930ed5b1cd0305e203698132d /src/cmd_kill.cpp
parent89712710a87638e226d834b62ea89ed308d1b3a8 (diff)
First part of fix for bug #344
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7431 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_kill.cpp')
-rw-r--r--src/cmd_kill.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp
index 373ec7c9d..dea888bad 100644
--- a/src/cmd_kill.cpp
+++ b/src/cmd_kill.cpp
@@ -99,8 +99,8 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
*/
ServerInstance->SNO->WriteToSnoMask('k',"Local Kill by %s: %s!%s@%s (%s)", user->nick, u->nick, u->ident, u->host, parameters[1]);
ServerInstance->Log(DEFAULT,"LOCAL KILL: %s :%s!%s!%s (%s)", u->nick, ServerInstance->Config->ServerName, user->dhost, user->nick, parameters[1]);
- user->WriteTo(u, "KILL %s :%s!%s!%s (%s)", *ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : u->nick,
- ServerInstance->Config->ServerName, user->dhost, user->nick, parameters[1]);
+ user->WriteTo(u, "KILL %s :%s!%s!%s (%s)", u->nick, ServerInstance->Config->ServerName, user->dhost,
+ *ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : user->nick, parameters[1]);
}
// send the quit out