summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:47:16 +0300
commit8c53409bb625415ddc6fe131061c7e540d56a67e (patch)
tree95ba8f651a4d15794c0fdf5aebb86e88f56480ca /src/commands.h
parent0888773fc1de5cc2aa1d92564e8d05231189e6f9 (diff)
downloadplus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.gz
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.bz2
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.tar.xz
plus-8c53409bb625415ddc6fe131061c7e540d56a67e.zip
Move chat command /removeattack into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/commands.h b/src/commands.h
index b8d6ab829..4976e7596 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(removeAttack);
decHandler(addIgnoreAttack);
decHandler(serverIgnoreAll);
decHandler(serverUnIgnoreAll);
@@ -90,8 +89,7 @@ namespace Commands
enum
{
- COMMAND_REMOVEATTACK = 0,
- COMMAND_REMOVEIGNOREATTACK,
+ COMMAND_REMOVEIGNOREATTACK = 0,
COMMAND_ADDIGNOREATTACK,
COMMAND_DUMP,
COMMAND_SERVERIGNOREALL,
@@ -129,8 +127,6 @@ enum
static const CommandInfo commands[] =
{
- {"removeattack", Commands::removeAttack, -1, true},
- {"removeignoreattack", &Commands::removeAttack, -1, true},
{"addignoreattack", &Commands::addIgnoreAttack, -1, true},
{"dump", &Commands::dump, -1, false},
{"serverignoreall", &Commands::serverIgnoreAll, -1, false},