summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 21:27:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 21:27:08 +0300
commitb030143a03ab3d65225f8c2351469b2e8daa0e94 (patch)
treed94c785b3820b3c85990c6164d32c87b29447a24 /src/commands.h
parent0ae262d137e24c44064f59102ff6b72b19c60b71 (diff)
downloadplus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.gz
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.bz2
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.tar.xz
plus-b030143a03ab3d65225f8c2351469b2e8daa0e94.zip
Move chat command /present 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 91b55ccca..14923761f 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(present);
decHandler(quit);
decHandler(showAll);
decHandler(move);
@@ -119,8 +118,7 @@ namespace Commands
enum
{
- COMMAND_PRESENT = 0,
- COMMAND_QUIT,
+ COMMAND_QUIT = 0,
COMMAND_ALL,
COMMAND_MOVE,
COMMAND_TARGET,
@@ -187,7 +185,6 @@ enum
static const CommandInfo commands[] =
{
- {"present", &Commands::present, -1, false},
{"quit", &Commands::quit, -1, false},
{"all", &Commands::showAll, -1, false},
{"move", &Commands::move, -1, true},