summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 15:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 15:05:48 +0300
commitb44ae759ff5a848b7c6d15dc80bba4e7a6948575 (patch)
tree17a577d75124c622fb00b516c95f15cc350b374a /src/commands.h
parentce0c0778675908f7be557b1c115de3eabb828079 (diff)
downloadmv-b44ae759ff5a848b7c6d15dc80bba4e7a6948575.tar.gz
mv-b44ae759ff5a848b7c6d15dc80bba4e7a6948575.tar.bz2
mv-b44ae759ff5a848b7c6d15dc80bba4e7a6948575.tar.xz
mv-b44ae759ff5a848b7c6d15dc80bba4e7a6948575.zip
Move chat command /trade 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 b09979050..58f3bf176 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -54,7 +54,6 @@ namespace Commands
decHandler(hack);
decHandler(priceLoad);
decHandler(priceSave);
- decHandler(trade);
decHandler(disconnect);
decHandler(undress);
decHandler(attack);
@@ -103,8 +102,7 @@ namespace Commands
enum
{
- COMMAND_TRADE = 0,
- COMMAND_PRICELOAD,
+ COMMAND_PRICELOAD = 0,
COMMAND_PRICESAVE,
COMMAND_CACHEINFO,
COMMAND_DISCONNECT,
@@ -155,7 +153,6 @@ enum
static const CommandInfo commands[] =
{
- {"trade", &Commands::trade, -1, true},
{"priceload", &Commands::priceLoad, -1, false},
{"pricesave", &Commands::priceSave, -1, false},
{"cacheinfo", &Commands::cacheInfo, -1, false},