diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:23:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:23:40 +0300 |
commit | 9761d1af134b3e699a29262abdddbe86f2b8dfe3 (patch) | |
tree | 17cf626334a326a9aaa9e328e039fc3d96a2d2a7 /src/commands.h | |
parent | d53578d459fcc7fc9c5ab84a196c7f5a8238fc8e (diff) | |
download | plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.gz plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.bz2 plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.tar.xz plus-9761d1af134b3e699a29262abdddbe86f2b8dfe3.zip |
Move chat command /open into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands.h b/src/commands.h index 6178b9d47..5abfae4da 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(open); decHandler(execute); decHandler(testsdlfont); decHandler(enableHighlight); @@ -76,8 +75,7 @@ namespace Commands enum { - COMMAND_OPEN = 0, - COMMAND_EXECUTE, + COMMAND_EXECUTE = 0, COMMAND_TESTSDLFONT, COMMAND_ENABLEHIGHLIGHT, COMMAND_DISABLEHIGHLIGHT, @@ -100,7 +98,6 @@ enum static const CommandInfo commands[] = { - {"open", &Commands::open, -1, true}, {"execute", &Commands::execute, -1, true}, {"testsdlfont", &Commands::testsdlfont, -1, false}, {"enablehighlight", &Commands::enableHighlight, -1, false}, |