summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:26:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:26:14 +0300
commita7c2351c708c38bf020e8e1250b6a78cb2b6f89e (patch)
treebe67051942049a004b2cfaa0535931aa5d4f169b /src/commands.h
parent4bb530a447cc08fbe176cface478898e0b35f5d1 (diff)
downloadplus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.gz
plus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.bz2
plus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.xz
plus-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.zip
Move chat command /me 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 c448ca4d3..89f3f52fe 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(me);
decHandler(toggle);
decHandler(present);
decHandler(quit);
@@ -121,8 +120,7 @@ namespace Commands
enum
{
- COMMAND_ME = 0,
- COMMAND_TOGGLE,
+ COMMAND_TOGGLE = 0,
COMMAND_PRESENT,
COMMAND_QUIT,
COMMAND_ALL,
@@ -191,7 +189,6 @@ enum
static const CommandInfo commands[] =
{
- {"me", &Commands::me, -1, true},
{"toggle", &Commands::toggle, -1, false},
{"present", &Commands::present, -1, false},
{"quit", &Commands::quit, -1, false},