summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 20:47:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 20:47:15 +0300
commite6d02447113b137ce37f2331ae674371c3968e28 (patch)
treee659f4b159c991d8cbd0b167ec74486de06ae91e /src/commands.h
parent051b5fc10eaec4f4aec1de8e79f2feae60f0e084 (diff)
downloadmanaverse-e6d02447113b137ce37f2331ae674371c3968e28.tar.gz
manaverse-e6d02447113b137ce37f2331ae674371c3968e28.tar.bz2
manaverse-e6d02447113b137ce37f2331ae674371c3968e28.tar.xz
manaverse-e6d02447113b137ce37f2331ae674371c3968e28.zip
Move chat command /who 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 f6d1d3f4f..5844cac08 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(who);
decHandler(msg);
decHandler(query);
decHandler(clear);
@@ -138,8 +137,7 @@ namespace Commands
enum
{
- COMMAND_WHO = 0,
- COMMAND_MSG,
+ COMMAND_MSG = 0,
COMMAND_WHISPER,
COMMAND_W,
COMMAND_QUERY,
@@ -229,7 +227,6 @@ enum
static const CommandInfo commands[] =
{
- {"who", &Commands::who, -1, false},
{"msg", Commands::msg, -1, true},
{"whisper", Commands::msg, -1, true},
{"w", &Commands::msg, -1, true},