Core/DBLayer: Apparantly the possible deadlock was present in Player::DeleteFromDB as well.
Thanks to Aokromes for pointing out
This commit is contained in:
@@ -4828,7 +4828,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
|
||||
|
||||
uint32 pl_account = sObjectMgr->GetPlayerAccountIdByGUID(MAKE_NEW_GUID(guid, 0, HIGHGUID_PLAYER));
|
||||
|
||||
draft.AddMoney(money).SendReturnToSender(pl_account, guid, sender);
|
||||
draft.AddMoney(money).SendReturnToSender(pl_account, guid, sender, trans);
|
||||
}
|
||||
while (resultMail->NextRow());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user