Core/Dungeon Finder: Prevent a crash in Leave by checking Player or Group exist
--HG-- branch : trunk
This commit is contained in:
1 parent
739f336618
commit
18de18e7b9
1 file changed
+3
@@ -685,6 +685,9 @@ void LFGMgr::Leave(Player* plr, Group* grp /* = NULL*/)
|
||||
|
||||
uint64 guid = grp ? grp->GetGUID() : plr ? plr->GetGUID() : 0;
|
||||
sLog.outDebug("LFGMgr::Leave: [" UI64FMTD "]", guid);
|
||||
|
||||
if (!guid)
|
||||
return;
|
||||
|
||||
// Remove from Role Checks
|
||||
if (grp)
|
||||
|
||||
Reference in new issue
Block a user