From a7c2351c708c38bf020e8e1250b6a78cb2b6f89e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Aug 2014 13:26:14 +0300 Subject: Move chat command /me 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 c448ca4d3..89f3f52fe 100644 --- a/src/commands.h +++ b/src/commands.h @@ -51,7 +51,6 @@ struct CommandInfo final namespace Commands { - decHandler(me); decHandler(toggle); decHandler(present); decHandler(quit); @@ -121,8 +120,7 @@ namespace Commands enum { - COMMAND_ME = 0, - COMMAND_TOGGLE, + COMMAND_TOGGLE = 0, COMMAND_PRESENT, COMMAND_QUIT, COMMAND_ALL, @@ -191,7 +189,6 @@ enum static const CommandInfo commands[] = { - {"me", &Commands::me, -1, true}, {"toggle", &Commands::toggle, -1, false}, {"present", &Commands::present, -1, false}, {"quit", &Commands::quit, -1, false}, -- cgit v1.2.3-70-g09d2