diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 18:00:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 18:00:53 +0300 |
commit | 663b79fd68f9e7f578415f3d0f015a3d8ba998cb (patch) | |
tree | fc1064bf86303f12a2d8cfeb91004364a480b0de /src/commands.h | |
parent | 16faca9102b7f6771fb0745d5b4bc694f966fca4 (diff) | |
download | mv-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.gz mv-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.bz2 mv-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.xz mv-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.zip |
Move chat command /help 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 e694937c6..54f97c617 100644 --- a/src/commands.h +++ b/src/commands.h @@ -52,7 +52,6 @@ struct CommandInfo final namespace Commands { decHandler(announce); - decHandler(help); decHandler(ipcToggle); decHandler(where); decHandler(who); @@ -142,8 +141,7 @@ namespace Commands enum { - COMMAND_HELP = 0, - COMMAND_ANNOUNCE, + COMMAND_ANNOUNCE = 0, COMMAND_IPC_TOGGLE, COMMAND_WHERE, COMMAND_WHO, @@ -237,7 +235,6 @@ enum static const CommandInfo commands[] = { - {"help", &Commands::help, -1, false}, {"announce", &Commands::announce, -1, true}, {"ipctoggle", &Commands::ipcToggle, -1, false}, {"where", &Commands::where, -1, false}, |