summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 19:38:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 20:40:39 +0300
commita4077c474c370275442982965bb174b2e1e59422 (patch)
tree86607326f06bb241cb0245d294b3220eacaba5cc /src/commands.h
parent647c1a8b8b02b737b11b1e08af86ecc84f649a81 (diff)
downloadplus-a4077c474c370275442982965bb174b2e1e59422.tar.gz
plus-a4077c474c370275442982965bb174b2e1e59422.tar.bz2
plus-a4077c474c370275442982965bb174b2e1e59422.tar.xz
plus-a4077c474c370275442982965bb174b2e1e59422.zip
Move chat command /attack 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 2089cb760..5dde98d8f 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(attack);
decHandler(dirs);
decHandler(info);
decHandler(wait);
@@ -97,8 +96,7 @@ namespace Commands
enum
{
- COMMAND_ATTACK = 0,
- COMMAND_DIRS,
+ COMMAND_DIRS = 0,
COMMAND_INFO,
COMMAND_WAIT,
COMMAND_UPTIME,
@@ -143,7 +141,6 @@ enum
static const CommandInfo commands[] =
{
- {"attack", &Commands::attack, -1, true},
{"dirs", &Commands::dirs, -1, false},
{"info", &Commands::info, -1, false},
{"wait", &Commands::wait, -1, true},