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