From d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 13:27:52 +0300 Subject: Move chat command /execute 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 5abfae4da..44afba028 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(execute); decHandler(testsdlfont); decHandler(enableHighlight); decHandler(disableHighlight); @@ -75,8 +74,7 @@ namespace Commands enum { - COMMAND_EXECUTE = 0, - COMMAND_TESTSDLFONT, + COMMAND_TESTSDLFONT = 0, COMMAND_ENABLEHIGHLIGHT, COMMAND_DISABLEHIGHLIGHT, COMMAND_DONTREMOVENAME, @@ -98,7 +96,6 @@ enum static const CommandInfo commands[] = { - {"execute", &Commands::execute, -1, true}, {"testsdlfont", &Commands::testsdlfont, -1, false}, {"enablehighlight", &Commands::enableHighlight, -1, false}, {"disablehighlight", &Commands::disableHighlight, -1, false}, -- cgit v1.2.3-70-g09d2