Core/Mails: Allow GMs to send emails without money

This commit is contained in:
horn
2012-06-23 01:22:09 +02:00
parent 9bf7ee3ee9
commit 96286790e7
+1 -1
View File
@@ -107,7 +107,7 @@ void WorldSession::HandleSendMail(WorldPacket & recv_data)
uint32 reqmoney = cost + money;
if (!player->HasEnoughMoney(reqmoney))
if (!player->HasEnoughMoney(reqmoney) && !player->isGameMaster())
{
player->SendMailResult(0, MAIL_SEND, MAIL_ERR_NOT_ENOUGH_MONEY);
return;