aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-04-02 10:29:34 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-04-02 10:29:34 +0200
commit57ef86480b13cec08cec29f8352b168d9a16f4e4 (patch)
tree5f36b70567769886e6119ba6d25eaf806228446f /root_commands.c
parent6adcb6c6bcd96478ec3ab89efcc43bf15d6b12e0 (diff)
Format string problem in cmd_block/allow.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/root_commands.c b/root_commands.c
index a29294a0..86f75922 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -494,7 +494,7 @@ static void cmd_block( irc_t *irc, char **cmd )
if( strchr( irc->umode, 'b' ) != NULL )
format = "%s\t%s";
else
- format = "%-32.32 %-16.16s";
+ format = "%-32.32s %-16.16s";
irc_usermsg( irc, format, "Handle", "Nickname" );
for( l = a->gc->deny; l; l = l->next )
@@ -553,7 +553,7 @@ static void cmd_allow( irc_t *irc, char **cmd )
if( strchr( irc->umode, 'b' ) != NULL )
format = "%s\t%s";
else
- format = "%-32.32 %-16.16s";
+ format = "%-32.32s %-16.16s";
irc_usermsg( irc, format, "Handle", "Nickname" );
for( l = a->gc->deny; l; l = l->next )