diff options
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) |