From 537b66dbab370463a4a8d0d860a98626f73b4635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 18:40:02 +0300 Subject: Move chat command /disconnect 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 832895ba2..9af069bc9 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(hack); - decHandler(disconnect); decHandler(undress); decHandler(attack); decHandler(dirs); @@ -99,8 +98,7 @@ namespace Commands enum { - COMMAND_DISCONNECT = 0, - COMMAND_UNDRESS, + COMMAND_UNDRESS = 0, COMMAND_ATTACK, COMMAND_DIRS, COMMAND_INFO, @@ -147,7 +145,6 @@ enum static const CommandInfo commands[] = { - {"disconnect", &Commands::disconnect, -1, false}, {"undress", &Commands::undress, -1, true}, {"attack", &Commands::attack, -1, true}, {"dirs", &Commands::dirs, -1, false}, -- cgit v1.2.3-70-g09d2