From f2849928b3eca83581ba77be8bf3b002085fdc9a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 22:12:34 +0300 Subject: Move chat command /addignoreattack into actions. --- src/commands.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/commands.h') 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}, -- cgit v1.2.3-70-g09d2