]> jfr.im git - irc/quakenet/newserv.git/commitdiff
NOPERSERV: reformat showcommands
authorChris Porter <redacted>
Sat, 21 Feb 2009 13:58:46 +0000 (13:58 +0000)
committerChris Porter <redacted>
Sat, 21 Feb 2009 13:58:46 +0000 (13:58 +0000)
noperserv/noperserv_hooks.c

index bdc6fae47aa1e76f594a7c90c658154a55a820a1..1a09a1209a2740d0e1d965d752649f6d9b1297e1 100644 (file)
@@ -291,7 +291,7 @@ int noperserv_showcommands(void *sender, int cargc, char **cargv) {
   
   for(i=0;i<n;i++)
     if(noperserv_policy_command_permitted(cmdlist[i]->level, np))
-      controlreply(np, "%s (%s)", cmdlist[i]->command->content, printflags(cmdlist[i]->level, no_commandflags));
+      controlreply(np, " %-25s %s", cmdlist[i]->command->content, printflags(cmdlist[i]->level, no_commandflags));
 
   controlreply(np, "End of list.");
   return CMD_OK;