From ac2cda962d5fc3e23858527be45a8ae7b9856b84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 21:39:27 +0300 Subject: Move chat command /addpriorityattack into actions. --- src/commands.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index ce517c047..147b1fb31 100644 --- a/src/commands.h +++ b/src/commands.h @@ -53,7 +53,6 @@ namespace Commands { decHandler(hack); decHandler(addAttack); - decHandler(addPriorityAttack); decHandler(removeAttack); decHandler(addIgnoreAttack); decHandler(serverIgnoreAll); @@ -92,8 +91,7 @@ namespace Commands enum { - COMMAND_ADDPRIORITYATTACK = 0, - COMMAND_ADDATTACK, + COMMAND_ADDATTACK = 0, COMMAND_REMOVEATTACK, COMMAND_REMOVEIGNOREATTACK, COMMAND_ADDIGNOREATTACK, @@ -133,7 +131,6 @@ enum static const CommandInfo commands[] = { - {"addpriorityattack", &Commands::addPriorityAttack, -1, true}, {"addattack", &Commands::addAttack, -1, true}, {"removeattack", Commands::removeAttack, -1, true}, {"removeignoreattack", &Commands::removeAttack, -1, true}, -- cgit v1.2.3-70-g09d2