diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-24 23:49:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-24 23:49:07 +0000 |
commit | 3c8a979106eace6acb712f7f5a7ee982dad61bd4 (patch) | |
tree | 1f71de788d8da2a6602838993281b9ea38f2734d | |
parent | d9ee839c2952f5280236cbd1b4a4e44f564743f6 (diff) |
Fix part of bug #419 (source nick showing in KILL message to user with hidekills on)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8071 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_kill.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_kill.cpp b/src/cmd_kill.cpp index 2e04ab08f..1b8a10b51 100644 --- a/src/cmd_kill.cpp +++ b/src/cmd_kill.cpp @@ -95,7 +95,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)", u->nick, ServerInstance->Config->ServerName, user->dhost, + u->Write(":%s KILL %s :%s!%s!%s (%s)", *ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : user->GetFullHost(), + u->nick, ServerInstance->Config->ServerName, user->dhost, *ServerInstance->Config->HideKillsServer ? ServerInstance->Config->HideKillsServer : user->nick, parameters[1]); } |