summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 00:25:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 00:25:26 +0300
commit369dccecf7540c8ea3c050116c2fde5914e75a40 (patch)
tree61503d6de7437c5c702e5f9758725a7f4b74fa78 /src/commands.h
parent1333ccee41e2acca4ecf4a90a6b230e8bbd23f7d (diff)
downloadplus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.gz
plus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.bz2
plus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.xz
plus-369dccecf7540c8ea3c050116c2fde5914e75a40.zip
Move chat command /away 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 e29ea7d2b..d14d47dab 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(away);
decHandler(pseudoAway);
decHandler(follow);
decHandler(imitation);
@@ -110,8 +109,7 @@ namespace Commands
enum
{
- COMMAND_AWAY = 0,
- COMMAND_PSEUDOAWAY,
+ COMMAND_PSEUDOAWAY = 0,
COMMAND_FOLLOW,
COMMAND_HEAL,
COMMAND_NAVIGATE,
@@ -169,7 +167,6 @@ enum
static const CommandInfo commands[] =
{
- {"away", &Commands::away, -1, true},
{"pseudoaway", &Commands::pseudoAway, -1, true},
{"follow", &Commands::follow, -1, true},
{"heal", &Commands::heal, -1, true},