diff options
Diffstat (limited to 'src/cmd_commands.cpp')
-rw-r--r-- | src/cmd_commands.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp index bfdafb6ad..f9327d372 100644 --- a/src/cmd_commands.cpp +++ b/src/cmd_commands.cpp @@ -25,7 +25,12 @@ CmdResult cmd_commands::Handle (const char** parameters, int pcnt, User *user) { for (Commandable::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) { - user->WriteServ("902 %s :%s %s %d",user->nick,i->second->command.c_str(),i->second->source.c_str(),i->second->min_params); + user->WriteServ("902 %s :%s %s %d %d", + user->nick, + i->second->command.c_str(), + i->second->source.c_str(), + i->second->min_params, + i->second->Penalty); } user->WriteServ("903 %s :End of COMMANDS list",user->nick); return CMD_SUCCESS; |