summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-28 02:11:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-28 02:11:46 +0300
commit83dc7593205d7d076fc38d307e2964a57157defc (patch)
tree9547fcd7e6f8c68bb632771f19d1b1946c691e58 /src/commands.cpp
parent1b719ca0b81e3c5df44ef8280255995418a2ec70 (diff)
downloadplus-83dc7593205d7d076fc38d307e2964a57157defc.tar.gz
plus-83dc7593205d7d076fc38d307e2964a57157defc.tar.bz2
plus-83dc7593205d7d076fc38d307e2964a57157defc.tar.xz
plus-83dc7593205d7d076fc38d307e2964a57157defc.zip
Revert "Remove auction bot support."
This reverts commit 0b236e4e04a6d89d34925ce9d2875c002e135b23.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
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)