diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
commit | 0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch) | |
tree | 001209ae09a69d15d29007d8a1762de56c94e362 /src/commands.h | |
parent | ac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff) | |
download | manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2 manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip |
Move chat command /addattack 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 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}, |