summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 12:14:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 12:14:29 +0300
commitce0c0778675908f7be557b1c115de3eabb828079 (patch)
treeb927c494bf5d2777c56494776ad379a9564b45a0 /src/commands.h
parent1a9a7ece01b6633e1fe860cba03bfd0d895c172d (diff)
downloadplus-ce0c0778675908f7be557b1c115de3eabb828079.tar.gz
plus-ce0c0778675908f7be557b1c115de3eabb828079.tar.bz2
plus-ce0c0778675908f7be557b1c115de3eabb828079.tar.xz
plus-ce0c0778675908f7be557b1c115de3eabb828079.zip
Move chat command /mail 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 0f42ddb9a..b09979050 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -51,7 +51,6 @@ struct CommandInfo final
namespace Commands
{
- decHandler(mail);
decHandler(hack);
decHandler(priceLoad);
decHandler(priceSave);
@@ -104,8 +103,7 @@ namespace Commands
enum
{
- COMMAND_MAIL = 0,
- COMMAND_TRADE,
+ COMMAND_TRADE = 0,
COMMAND_PRICELOAD,
COMMAND_PRICESAVE,
COMMAND_CACHEINFO,
@@ -157,7 +155,6 @@ enum
static const CommandInfo commands[] =
{
- {"mail", &Commands::mail, -1, true},
{"trade", &Commands::trade, -1, true},
{"priceload", &Commands::priceLoad, -1, false},
{"pricesave", &Commands::priceSave, -1, false},