diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 20:47:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 20:47:15 +0300 |
commit | e6d02447113b137ce37f2331ae674371c3968e28 (patch) | |
tree | e659f4b159c991d8cbd0b167ec74486de06ae91e /src/commands.h | |
parent | 051b5fc10eaec4f4aec1de8e79f2feae60f0e084 (diff) | |
download | manaplus-e6d02447113b137ce37f2331ae674371c3968e28.tar.gz manaplus-e6d02447113b137ce37f2331ae674371c3968e28.tar.bz2 manaplus-e6d02447113b137ce37f2331ae674371c3968e28.tar.xz manaplus-e6d02447113b137ce37f2331ae674371c3968e28.zip |
Move chat command /who 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 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}, |