From 8f8bfb4ef048fecab5d86889ee4525f48a9baa8e Mon Sep 17 00:00:00 2001 From: Joseph Bongaarts Date: Mon, 18 Feb 2002 10:22:05 +0000 Subject: [PATCH] Author: Ghostwolf Log message: Bug fixes. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@647 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ircd/m_kill.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ircd/m_kill.c b/ircd/m_kill.c index f51be2e..521ea64 100644 --- a/ircd/m_kill.c +++ b/ircd/m_kill.c @@ -120,6 +120,8 @@ static int do_kill(struct Client* cptr, struct Client* sptr, else comment++; /* Remove first character (space) */ } + else + comment = path; #ifdef HEAD_IN_SAND_KILLWHO ircd_snprintf(0, buf, sizeof(buf), "%s (%s)", HEAD_IN_SAND_SERVERNAME, comment); @@ -236,8 +238,8 @@ int ms_kill(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) * by the next hop (short lag) the bounce won't propagate further. */ if (MyConnect(victim)) { - sendcmdto_one(&me, CMD_KILL, cptr, "%C :%s!%s (Ghost 5 Numeric Collided)", - victim, inpath, path); + sendcmdto_one(&me, CMD_KILL, cptr, "%C :%s (Ghost 5 Numeric Collided)", + victim, path); } return do_kill(cptr, sptr, victim, path); } -- 2.20.1