diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-20 09:37:09 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-20 09:37:09 +0000 |
commit | 33ce32eb8bfddfc1cb04668a03c9b795d33eb9c0 (patch) | |
tree | 5ce23d124919d8042645495f184b0f42f2e9171c /src/commands/cmd_commands.cpp | |
parent | ccfcdda27482fe2ac99d0da936ef1a1374223624 (diff) |
More numerics.h conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_commands.cpp')
-rw-r--r-- | src/commands/cmd_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cmd_commands.cpp b/src/commands/cmd_commands.cpp index 9d77de6ca..2c2bf0894 100644 --- a/src/commands/cmd_commands.cpp +++ b/src/commands/cmd_commands.cpp @@ -25,13 +25,13 @@ CmdResult CommandCommands::Handle (const std::vector<std::string>&, User *user) { for (Commandtable::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) { - user->WriteNumeric(702, "%s :%s %s %d %d", + user->WriteNumeric(RPL_COMMANDS, "%s :%s %s %d %d", user->nick.c_str(), i->second->command.c_str(), i->second->source.c_str(), i->second->min_params, i->second->Penalty); } - user->WriteNumeric(704, "%s :End of COMMANDS list",user->nick.c_str()); + user->WriteNumeric(RPL_COMMANDSEND, "%s :End of COMMANDS list",user->nick.c_str()); return CMD_SUCCESS; } |