AuctionHouse: Use MailDeliveryDelay config value at mail cash delivery
Thanks to MrSmite Closes issue #485 --HG-- branch : trunk
This commit is contained in:
@@ -235,7 +235,7 @@ void AuctionHouseMgr::SendAuctionSuccessfulMail(AuctionEntry * auction)
|
|||||||
}
|
}
|
||||||
MailDraft(msgAuctionSuccessfulSubject.str(), itemTextId)
|
MailDraft(msgAuctionSuccessfulSubject.str(), itemTextId)
|
||||||
.AddMoney(profit)
|
.AddMoney(profit)
|
||||||
.SendMailTo(MailReceiver(owner,auction->owner), auction, MAIL_CHECK_MASK_AUCTION, HOUR);
|
.SendMailTo(MailReceiver(owner,auction->owner), auction, MAIL_CHECK_MASK_AUCTION, sWorld.getConfig(CONFIG_MAIL_DELIVERY_DELAY));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user