summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:40:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:40:34 +0300
commit0b9105af0ae2b85a0a3ea5364d8a854d107ce34a (patch)
tree10d4c2e846010e55fe7a48cc9e84502938ef16ab /src/commands.h
parentba4e639a333eed40f95f7bf7a361c0bd0186c334 (diff)
downloadmanaplus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.gz
manaplus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.bz2
manaplus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.xz
manaplus-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.zip
Move chat command /disableaway 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 de5e80d03..b2e2dabc4 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(disableAway);
decHandler(enableAway);
decHandler(testParticle);
decHandler(createItems);
@@ -69,8 +68,7 @@ namespace Commands
enum
{
- COMMAND_DISABLEAWAY = 0,
- COMMAND_ENABLEAWAY,
+ COMMAND_ENABLEAWAY = 0,
COMMAND_TEST_PARTICLE,
COMMAND_CREATEITEMS,
COMMAND_TALKRAW,
@@ -86,7 +84,6 @@ enum
static const CommandInfo commands[] =
{
- {"disableaway", &Commands::disableAway, -1, false},
{"enableaway", &Commands::enableAway, -1, false},
{"testparticle", &Commands::testParticle, -1, true},
{"createitems", &Commands::createItems, -1, false},