diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-28 02:11:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-28 02:11:46 +0300 |
commit | 83dc7593205d7d076fc38d307e2964a57157defc (patch) | |
tree | 9547fcd7e6f8c68bb632771f19d1b1946c691e58 /src/commands.cpp | |
parent | 1b719ca0b81e3c5df44ef8280255995418a2ec70 (diff) | |
download | manaplus-83dc7593205d7d076fc38d307e2964a57157defc.tar.gz manaplus-83dc7593205d7d076fc38d307e2964a57157defc.tar.bz2 manaplus-83dc7593205d7d076fc38d307e2964a57157defc.tar.xz manaplus-83dc7593205d7d076fc38d307e2964a57157defc.zip |
Revert "Remove auction bot support."
This reverts commit 0b236e4e04a6d89d34925ce9d2875c002e135b23.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 1beba22d5..7dbafd0f1 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -22,6 +22,7 @@ #include "commandhandler.h" +#include "auctionmanager.h" #include "actorspritemanager.h" #include "client.h" #include "configuration.h" @@ -699,6 +700,12 @@ impHandler1(hack) Net::getChatHandler()->sendRaw(args); } +impHandler1(mail) +{ + if (auctionManager && auctionManager->getEnableAuctionBot()) + auctionManager->sendMail(args); +} + impHandler0(priceLoad) { if (shopWindow) |