summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 19:44:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 19:44:33 +0300
commitd6f58bee33ca548ea6fc125553aa8d4d2fdba91f (patch)
treef56a9c37da0ef39c470a3da6315a073c87b1c984 /src/commands.h
parent663b79fd68f9e7f578415f3d0f015a3d8ba998cb (diff)
downloadplus-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.h5
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},