diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 19:44:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 19:44:33 +0300 |
commit | d6f58bee33ca548ea6fc125553aa8d4d2fdba91f (patch) | |
tree | f56a9c37da0ef39c470a3da6315a073c87b1c984 /src/commands.h | |
parent | 663b79fd68f9e7f578415f3d0f015a3d8ba998cb (diff) | |
download | plus-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.gz plus-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.bz2 plus-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.xz plus-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.zip |
Move chat command /announce 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 54f97c617..345996977 100644 --- a/src/commands.h +++ b/src/commands.h @@ -51,7 +51,6 @@ struct CommandInfo final namespace Commands { - decHandler(announce); decHandler(ipcToggle); decHandler(where); decHandler(who); @@ -141,8 +140,7 @@ namespace Commands enum { - COMMAND_ANNOUNCE = 0, - COMMAND_IPC_TOGGLE, + COMMAND_IPC_TOGGLE = 0, COMMAND_WHERE, COMMAND_WHO, COMMAND_MSG, @@ -235,7 +233,6 @@ enum static const CommandInfo commands[] = { - {"announce", &Commands::announce, -1, true}, {"ipctoggle", &Commands::ipcToggle, -1, false}, {"where", &Commands::where, -1, false}, {"who", &Commands::who, -1, false}, |