summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 22:34:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 22:34:19 +0300
commit76fd633b0042f2ab3a161460ee03c1978e7c0db9 (patch)
tree49ac22bd396af6329bfdffe69a775de7dedaa553 /src/commands.h
parentf2849928b3eca83581ba77be8bf3b002085fdc9a (diff)
downloadmanaplus-76fd633b0042f2ab3a161460ee03c1978e7c0db9.tar.gz
manaplus-76fd633b0042f2ab3a161460ee03c1978e7c0db9.tar.bz2
manaplus-76fd633b0042f2ab3a161460ee03c1978e7c0db9.tar.xz
manaplus-76fd633b0042f2ab3a161460ee03c1978e7c0db9.zip
Move chat command /dump 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 7e675d642..9bad6c4ab 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -58,7 +58,6 @@ namespace Commands
decHandler(error) __attribute__ ((noreturn));
decHandler(url);
decHandler(open);
- decHandler(dump);
decHandler(dumpGraphics);
decHandler(dumpEnvironment);
decHandler(dumpTests);
@@ -88,8 +87,7 @@ namespace Commands
enum
{
- COMMAND_DUMP = 0,
- COMMAND_SERVERIGNOREALL,
+ COMMAND_SERVERIGNOREALL = 0,
COMMAND_SERVERUNIGNOREALL,
COMMAND_SETDROP,
COMMAND_ERROR,
@@ -124,7 +122,6 @@ enum
static const CommandInfo commands[] =
{
- {"dump", &Commands::dump, -1, false},
{"serverignoreall", &Commands::serverIgnoreAll, -1, false},
{"serverunignoreall", &Commands::serverUnIgnoreAll, -1, false},
{"setdrop", &Commands::setDrop, -1, true},