diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:39:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:39:28 +0300 |
commit | 0ae262d137e24c44064f59102ff6b72b19c60b71 (patch) | |
tree | bc03b97a2c0fd007f6076daf18ce6e56c5630a49 /src/commands.h | |
parent | a7c2351c708c38bf020e8e1250b6a78cb2b6f89e (diff) | |
download | plus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.gz plus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.bz2 plus-0ae262d137e24c44064f59102ff6b72b19c60b71.tar.xz plus-0ae262d137e24c44064f59102ff6b72b19c60b71.zip |
Move chat command /toggle 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 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}, |