From 76fd633b0042f2ab3a161460ee03c1978e7c0db9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 22:34:19 +0300 Subject: Move chat command /dump into actions. --- src/commands.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/commands.h') 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}, -- cgit v1.2.3-70-g09d2