diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:09:56 +0300 |
commit | 7b882f006038b0b24a86ca285afb005125dc5d2d (patch) | |
tree | a4ef7404d1c7c7691b04862c040bc89933e0b7d8 /src/commands.h | |
parent | 67ecfd5dc5ac6b45e42f6a47263f494fa17bc46d (diff) | |
download | manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.gz manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.bz2 manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.tar.xz manaverse-7b882f006038b0b24a86ca285afb005125dc5d2d.zip |
Move chat command /info into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 5 |
1 files changed, 1 insertions, 4 deletions
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}, |