From: Joseph Bongaarts Date: Mon, 18 Feb 2002 10:22:05 +0000 (+0000) Subject: Author: Ghostwolf X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=8f8bfb4ef048fecab5d86889ee4525f48a9baa8e;p=ircu2.10.12-pk.git 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 --- 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); }