From 17a96c972cd483fa556a79c4cd60e5d7490177a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 21:29:18 +0300 Subject: Move chat command /uptime 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 c5104ee5c..ce517c047 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(uptime); decHandler(addAttack); decHandler(addPriorityAttack); decHandler(removeAttack); @@ -93,8 +92,7 @@ namespace Commands enum { - COMMAND_UPTIME = 0, - COMMAND_ADDPRIORITYATTACK, + COMMAND_ADDPRIORITYATTACK = 0, COMMAND_ADDATTACK, COMMAND_REMOVEATTACK, COMMAND_REMOVEIGNOREATTACK, @@ -135,7 +133,6 @@ enum static const CommandInfo commands[] = { - {"uptime", &Commands::uptime, -1, false}, {"addpriorityattack", &Commands::addPriorityAttack, -1, true}, {"addattack", &Commands::addAttack, -1, true}, {"removeattack", Commands::removeAttack, -1, true}, -- cgit v1.2.3-70-g09d2