summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:39:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:39:28 +0300
commit0ae262d137e24c44064f59102ff6b72b19c60b71 (patch)
treebc03b97a2c0fd007f6076daf18ce6e56c5630a49 /src/commands.h
parenta7c2351c708c38bf020e8e1250b6a78cb2b6f89e (diff)
downloadmanaplus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.gz
manaplus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.bz2
manaplus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.xz
manaplus-0ae262d137e24c44064f59102ff6b72b19c60b71.zip
Move chat command /toggle 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 89f3f52fe..91b55ccca 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(toggle);
decHandler(present);
decHandler(quit);
decHandler(showAll);
@@ -120,8 +119,7 @@ namespace Commands
enum
{
- COMMAND_TOGGLE = 0,
- COMMAND_PRESENT,
+ COMMAND_PRESENT = 0,
COMMAND_QUIT,
COMMAND_ALL,
COMMAND_MOVE,
@@ -189,7 +187,6 @@ enum
static const CommandInfo commands[] =
{
- {"toggle", &Commands::toggle, -1, false},
{"present", &Commands::present, -1, false},
{"quit", &Commands::quit, -1, false},
{"all", &Commands::showAll, -1, false},