From 83dc7593205d7d076fc38d307e2964a57157defc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Mar 2013 02:11:46 +0300 Subject: Revert "Remove auction bot support." This reverts commit 0b236e4e04a6d89d34925ce9d2875c002e135b23. --- src/commands.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/commands.cpp') 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) -- cgit v1.2.3-60-g2f50