From 8314a1808ff96ec8990c4d9055cad41c05f07dc2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 23:39:49 +0300 Subject: Move chat command /setdrop 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 6b7ec8401..d91b7345a 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(setDrop); decHandler(error) __attribute__ ((noreturn)); decHandler(url); decHandler(open); @@ -85,8 +84,7 @@ namespace Commands enum { - COMMAND_SETDROP = 0, - COMMAND_ERROR, + COMMAND_ERROR = 0, COMMAND_DUMPG, COMMAND_DUMPE, COMMAND_DUMPT, @@ -118,7 +116,6 @@ enum static const CommandInfo commands[] = { - {"setdrop", &Commands::setDrop, -1, true}, {"error", &Commands::error, -1, false}, {"dumpg", &Commands::dumpGraphics, -1, false}, {"dumpe", &Commands::dumpEnvironment, -1, false}, -- cgit v1.2.3-70-g09d2