From 56178bf525b07582389493158ac90e2ab7721571 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 16:41:00 +0300 Subject: Move chat command /hack into actions. --- src/commands.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index caace74f4..1a6009101 100644 --- a/src/commands.h +++ b/src/commands.h @@ -51,7 +51,6 @@ struct CommandInfo final namespace Commands { - decHandler(hack); decHandler(debugSpawn); void replaceVars(std::string &str); @@ -59,14 +58,12 @@ namespace Commands enum { - COMMAND_HACK = 0, - COMMAND_DEBUGSPAWN, + COMMAND_DEBUGSPAWN = 0, END_COMMANDS }; static const CommandInfo commands[] = { - {"hack", &Commands::hack, -1, true}, {"debugSpawn", &Commands::debugSpawn, -1, true} }; -- cgit v1.2.3-70-g09d2