summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 22:53:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 22:53:07 +0300
commitc7266cda03bcab72b147b5597a126f01f915fe2c (patch)
treea2d216f146f8ad96c1dd066abbef90cd8eb7002a /src/commands.h
parent76fd633b0042f2ab3a161460ee03c1978e7c0db9 (diff)
downloadmanaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.gz
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.bz2
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.tar.xz
manaverse-c7266cda03bcab72b147b5597a126f01f915fe2c.zip
Move chat command /serverignoreall 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 9bad6c4ab..d90974eaf 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -52,7 +52,6 @@ struct CommandInfo final
namespace Commands
{
decHandler(hack);
- decHandler(serverIgnoreAll);
decHandler(serverUnIgnoreAll);
decHandler(setDrop);
decHandler(error) __attribute__ ((noreturn));
@@ -87,8 +86,7 @@ namespace Commands
enum
{
- COMMAND_SERVERIGNOREALL = 0,
- COMMAND_SERVERUNIGNOREALL,
+ COMMAND_SERVERUNIGNOREALL = 0,
COMMAND_SETDROP,
COMMAND_ERROR,
COMMAND_DUMPG,
@@ -122,7 +120,6 @@ enum
static const CommandInfo commands[] =
{
- {"serverignoreall", &Commands::serverIgnoreAll, -1, false},
{"serverunignoreall", &Commands::serverUnIgnoreAll, -1, false},
{"setdrop", &Commands::setDrop, -1, true},
{"error", &Commands::error, -1, false},