summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 13:27:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 13:27:52 +0300
commitd003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a (patch)
treebf4d4529ef1319e52fa1dd9534884c97bb4c2849 /src/commands.h
parent9761d1af134b3e699a29262abdddbe86f2b8dfe3 (diff)
downloadplus-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.gz
plus-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.bz2
plus-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.xz
plus-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.zip
Move chat command /execute into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h5
1 files changed, 1 insertions, 4 deletions
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},