Committer  : decampos
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-10-28 07:26:00 UTC

Modified files:
     ChangeLog ircd/m_kick.c

Log message:

Author: Alex Badea <[EMAIL PROTECTED]>
Log message:

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

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.727 ircu2.10/ChangeLog:1.728
--- ircu2.10/ChangeLog:1.727    Mon Oct 17 20:20:52 2005
+++ ircu2.10/ChangeLog  Fri Oct 28 00:25:46 2005
@@ -1,3 +1,7 @@
+2005-10-28  Alex Badea  <[EMAIL PROTECTED]>
+
+       * ircd/m_kick.c (ms_kick): Fix format string typo (bug #1339538)
+
 2005-10-17  Michael Poole <[EMAIL PROTECTED]>
        This code inspired by ircd-hybrid's implementation of the same
        idea.  Thanks, Dianora!
Index: ircu2.10/ircd/m_kick.c
diff -u ircu2.10/ircd/m_kick.c:1.20 ircu2.10/ircd/m_kick.c:1.21
--- ircu2.10/ircd/m_kick.c:1.20 Sat Oct  1 14:07:08 2005
+++ ircu2.10/ircd/m_kick.c      Fri Oct 28 00:25:50 2005
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_kick.c,v 1.20 2005/10/01 21:07:08 entrope Exp $
+ * $Id: m_kick.c,v 1.21 2005/10/28 07:25:50 decampos Exp $
  */
 
 /*
@@ -248,7 +248,7 @@
       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,
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to