diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 21:48:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 21:48:59 +0300 |
commit | 475aa157df7400ce40ef9a5cc4cb441291d45df9 (patch) | |
tree | 6990e349c853115820caaf1f34e96c35a5186c8d /src/commands.h | |
parent | 2efe6bad2044f12d842466e149f512aba9b7fc86 (diff) | |
download | manaplus-475aa157df7400ce40ef9a5cc4cb441291d45df9.tar.gz manaplus-475aa157df7400ce40ef9a5cc4cb441291d45df9.tar.bz2 manaplus-475aa157df7400ce40ef9a5cc4cb441291d45df9.tar.xz manaplus-475aa157df7400ce40ef9a5cc4cb441291d45df9.zip |
Move chat command /whisper into actions.
Diffstat (limited to 'src/commands.h')
-rw-r--r-- | src/commands.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/commands.h b/src/commands.h index 5844cac08..c5731e459 100644 --- a/src/commands.h +++ b/src/commands.h @@ -51,7 +51,6 @@ struct CommandInfo final namespace Commands { - decHandler(msg); decHandler(query); decHandler(clear); decHandler(cleanGraphics); @@ -137,8 +136,7 @@ namespace Commands enum { - COMMAND_MSG = 0, - COMMAND_WHISPER, + COMMAND_WHISPER = 0, COMMAND_W, COMMAND_QUERY, COMMAND_Q, @@ -227,9 +225,6 @@ enum static const CommandInfo commands[] = { - {"msg", Commands::msg, -1, true}, - {"whisper", Commands::msg, -1, true}, - {"w", &Commands::msg, -1, true}, {"query", Commands::query, -1, true}, {"q", &Commands::query, -1, true}, {"ignore", &Commands::ignore, -1, true}, |