From 7b882f006038b0b24a86ca285afb005125dc5d2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 21:09:56 +0300 Subject: Move chat command /info 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 d5c7b2e35..920499582 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(info); decHandler(wait); decHandler(uptime); decHandler(addAttack); @@ -95,8 +94,7 @@ namespace Commands enum { - COMMAND_INFO = 0, - COMMAND_WAIT, + COMMAND_WAIT = 0, COMMAND_UPTIME, COMMAND_ADDPRIORITYATTACK, COMMAND_ADDATTACK, @@ -139,7 +137,6 @@ enum static const CommandInfo commands[] = { - {"info", &Commands::info, -1, false}, {"wait", &Commands::wait, -1, true}, {"uptime", &Commands::uptime, -1, false}, {"addpriorityattack", &Commands::addPriorityAttack, -1, true}, -- cgit v1.2.3-70-g09d2