summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:29:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:29:18 +0300
commit17a96c972cd483fa556a79c4cd60e5d7490177a4 (patch)
treefc745dec71523b49428838582a5aa40712538140 /src/commands.h
parentc06c787acceec22845f023b2f849858d36af6585 (diff)
downloadmanaverse-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.gz
manaverse-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.bz2
manaverse-17a96c972cd483fa556a79c4cd60e5d7490177a4.tar.xz
manaverse-17a96c972cd483fa556a79c4cd60e5d7490177a4.zip
Move chat command /uptime into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h5
1 files changed, 1 insertions, 4 deletions
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},