diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 18:40:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 18:40:02 +0300 |
commit | 537b66dbab370463a4a8d0d860a98626f73b4635 (patch) | |
tree | b57561ba706939d73ecce4f3242cdca6ed515b46 /src/commands.h | |
parent | 2f345a6bf8385bf0874b976d0da9790faa4ee0ff (diff) | |
download | plus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.gz plus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.bz2 plus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.xz plus-537b66dbab370463a4a8d0d860a98626f73b4635.zip |
Move chat command /disconnect into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 5 |
1 files changed, 1 insertions, 4 deletions
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}, |