diff options
author | XTZGZoReX <none@none> | 2008-10-12 14:03:38 -0500 |
---|---|---|
committer | XTZGZoReX <none@none> | 2008-10-12 14:03:38 -0500 |
commit | 054725122f1ef534063ffcbc54b25e167ec3ed9c (patch) | |
tree | e476f95db36b0599d54b74eb01d850d212a09d21 /src/game/AuctionHouse.cpp | |
parent | e539b4ca7f89eaaf3efe4cffea7e143f41fc592b (diff) |
[svn] * Various small changes here and there.
* Implementing MangChat IRC system.
* Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client.
--HG--
branch : trunk
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); } |