summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
commit0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch)
tree001209ae09a69d15d29007d8a1762de56c94e362 /src/commands.h
parentac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff)
downloadmanaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip
Move chat command /addattack 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 147b1fb31..b8d6ab829 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(addAttack);
decHandler(removeAttack);
decHandler(addIgnoreAttack);
decHandler(serverIgnoreAll);
@@ -91,8 +90,7 @@ namespace Commands
enum
{
- COMMAND_ADDATTACK = 0,
- COMMAND_REMOVEATTACK,
+ COMMAND_REMOVEATTACK = 0,
COMMAND_REMOVEIGNOREATTACK,
COMMAND_ADDIGNOREATTACK,
COMMAND_DUMP,
@@ -131,7 +129,6 @@ enum
static const CommandInfo commands[] =
{
- {"addattack", &Commands::addAttack, -1, true},
{"removeattack", Commands::removeAttack, -1, true},
{"removeignoreattack", &Commands::removeAttack, -1, true},
{"addignoreattack", &Commands::addIgnoreAttack, -1, true},