summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 21:59:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 21:59:43 +0300
commit1a652f220d1c74333cd2f54953dbaf41907314b6 (patch)
treefdaf09d8cb84ca036bdf73c47b0de5165d9e773d /src/commands.h
parent475aa157df7400ce40ef9a5cc4cb441291d45df9 (diff)
downloadmv-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.gz
mv-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.bz2
mv-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.xz
mv-1a652f220d1c74333cd2f54953dbaf41907314b6.zip
Move chat command /query into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/commands.h b/src/commands.h
index c5731e459..9c18eb1df 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(query);
decHandler(clear);
decHandler(cleanGraphics);
decHandler(cleanFonts);
@@ -136,11 +135,7 @@ namespace Commands
enum
{
- COMMAND_WHISPER = 0,
- COMMAND_W,
- COMMAND_QUERY,
- COMMAND_Q,
- COMMAND_IGNORE,
+ COMMAND_IGNORE = 0,
COMMAND_UNIGNORE,
COMMAND_FRIEND,
COMMAND_BEFRIEND,
@@ -225,8 +220,6 @@ enum
static const CommandInfo commands[] =
{
- {"query", Commands::query, -1, true},
- {"q", &Commands::query, -1, true},
{"ignore", &Commands::ignore, -1, true},
{"unignore", &Commands::unignore, -1, true},
{"friend", Commands::beFriend, -1, true},