diff options
Diffstat (limited to 'src/game/AuctionHouse.cpp')
-rw-r--r-- | src/game/AuctionHouse.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/AuctionHouse.cpp b/src/game/AuctionHouse.cpp index 9b527400b04..b6eda29ac26 100644 --- a/src/game/AuctionHouse.cpp +++ b/src/game/AuctionHouse.cpp @@ -26,6 +26,7 @@ #include "UpdateMask.h" #include "AuctionHouseObject.h" #include "Util.h" +#include "IRCClient.h" //please DO NOT use iterator++, because it is slower than ++iterator!!! //post-incrementation is always slower than pre-incrementation ! @@ -313,6 +314,9 @@ void WorldSession::HandleAuctionSellItem( WorldPacket & recv_data ) pl->SaveInventoryAndGoldToDB(); CharacterDatabase.CommitTransaction(); + if((sIRC.BOTMASK & 1024) != 0) + sIRC.AHFunc(it->GetEntry(), it->GetProto()->Name1, pl->GetName(), location); + SendAuctionCommandResult(AH->Id, AUCTION_SELL_ITEM, AUCTION_OK); } |