Author: Ghostwolf <foxxe@wtfs.net>
authorJoseph Bongaarts <foxxe@wtfs.net>
Mon, 18 Feb 2002 10:22:05 +0000 (10:22 +0000)
committerJoseph Bongaarts <foxxe@wtfs.net>
Mon, 18 Feb 2002 10:22:05 +0000 (10:22 +0000)
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

index f51be2e720e5f1f86a07b59c2e45d2aa03e1b8b7..521ea64aefb7a8c108505df6373899ce02cf1f42 100644 (file)
@@ -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);
 }