Author: Alex Badea <vamposdecampos@gmail.com>
authorAlex Badea <vamposdecampos@gmail.com>
Fri, 28 Oct 2005 07:27:19 +0000 (07:27 +0000)
committerAlex Badea <vamposdecampos@gmail.com>
Fri, 28 Oct 2005 07:27:19 +0000 (07:27 +0000)
Log message:

Fix format string typo in ms_kick() (Spotted by Romain Bignon)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1532 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_kick.c

index 0b5c602b80d084a4625b98c51deb390bfa5662c7..6fe6221f5c4f86f02708e1d599af436c85301ed0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-28  Alex Badea  <vamposdecampos@gmail.com>
+
+       * ircd/m_kick.c (ms_kick): Fix format string typo (bug #1339538)
+
 2005-10-17  Diane Bruce  <db@db.net>
 
        * ircd/ircd_res.c: Don't send retries if the client did
index 82c97931e556eb1c53bced60381f539ce6ebb0e5..60efbcec570b42be7bd38ec7c79d3459c2f43aca 100644 (file)
@@ -249,7 +249,7 @@ int ms_kick(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
       if (IsDelayedJoin(member)) {
         if (MyUser(who))
           sendcmdto_one(IsServer(sptr) ? &his : sptr, CMD_KICK,
-                        who, "%h %C :%s", chptr, who, comment);
+                        who, "%H %C :%s", chptr, who, comment);
       } else {
         sendcmdto_channel_butserv_butone(IsServer(sptr) ? &his : sptr, CMD_KICK,
                                          chptr, NULL, 0, "%H %C :%s", chptr, who,