Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Tue, 28 Mar 2000 16:20:39 +0000 (16:20 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Tue, 28 Mar 2000 16:20:39 +0000 (16:20 +0000)
Log message:

* ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
confused by set_mode, which is doing some really weird logic;
guess what I'm going to rewrite next?  ;)

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

ChangeLog
ircd/channel.c

index 92a0b94dc59162f295c6a8aff71bbdc9caef9f95..c1375b82bdc1ea074373d3024e7de67144b2ef2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-03-28  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
+       confused by set_mode, which is doing some really weird logic;
+       guess what I'm going to rewrite next?  ;)
+
 2000-03-28  Kevin L. Mitchell  <klmitch@emc.com>
 
        * include/channel.h: added MODE_SAVE for the bounds checking stuff
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.36 2000-03-28 07:11:20 kev Exp $
+# $Id: ChangeLog,v 1.37 2000-03-28 16:20:39 kev Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index d91e837eec0a7c852fc0d3b6f005958331bc088a..f6cd3446db99f58e92d0957ac783137ddfa0b280 100644 (file)
@@ -2803,7 +2803,7 @@ modebuf_flush_int(struct ModeBuf *mbuf, int all)
       }
     } else if (MB_TYPE(mbuf, i) & MODE_LIMIT) {
       /* if it's a limit, we also format the number */
-      sprintf_irc(limitbuf, "%-15d", MB_UINT(mbuf, i));
+      sprintf_irc(limitbuf, "%d", MB_UINT(mbuf, i));
 
       tmp = strlen(limitbuf);