summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 22:12:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 22:12:34 +0300
commitf2849928b3eca83581ba77be8bf3b002085fdc9a (patch)
tree8e9acff94a1f17726828fabd28e40543535c15dd /src/commands.h
parent8c53409bb625415ddc6fe131061c7e540d56a67e (diff)
downloadmanaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.gz
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.bz2
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.tar.xz
manaplus-f2849928b3eca83581ba77be8bf3b002085fdc9a.zip
Move chat command /addignoreattack 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 4976e7596..7e675d642 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(addIgnoreAttack);
decHandler(serverIgnoreAll);
decHandler(serverUnIgnoreAll);
decHandler(setDrop);
@@ -89,9 +88,7 @@ namespace Commands
enum
{
- COMMAND_REMOVEIGNOREATTACK = 0,
- COMMAND_ADDIGNOREATTACK,
- COMMAND_DUMP,
+ COMMAND_DUMP = 0,
COMMAND_SERVERIGNOREALL,
COMMAND_SERVERUNIGNOREALL,
COMMAND_SETDROP,
@@ -127,7 +124,6 @@ enum
static const CommandInfo commands[] =
{
- {"addignoreattack", &Commands::addIgnoreAttack, -1, true},
{"dump", &Commands::dump, -1, false},
{"serverignoreall", &Commands::serverIgnoreAll, -1, false},
{"serverunignoreall", &Commands::serverUnIgnoreAll, -1, false},