From 33ce32eb8bfddfc1cb04668a03c9b795d33eb9c0 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 20 Jul 2008 09:37:09 +0000 Subject: More numerics.h conversion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands/cmd_commands.cpp') 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&, 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; } -- cgit v1.2.3