mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Core/Player): close all character tickets when delete (#1565)
This commit is contained in:
committed by
Francesco Borzì
parent
1d0a8dbba0
commit
26ae2ce2d6
@@ -4725,7 +4725,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
|
||||
// close player ticket if any
|
||||
GmTicket* ticket = sTicketMgr->GetTicketByPlayer(playerguid);
|
||||
if (ticket)
|
||||
ticket->SetClosedBy(playerguid);
|
||||
sTicketMgr->CloseTicket(ticket->GetId(), playerguid);
|
||||
|
||||
// remove from group
|
||||
if (uint32 groupId = GetGroupIdFromStorage(guid))
|
||||
|
||||
Reference in New Issue
Block a user