Core/PacketIO: Do not send hotfix Status::Valid when we don't have a hotfix blob for current locale

This commit is contained in:
Shauren
2021-08-17 20:02:43 +02:00
parent 70613bd928
commit 065794ed66

View File

@@ -103,6 +103,9 @@ void WorldSession::HandleHotfixRequest(WorldPackets::Hotfix::HotfixRequest& hotf
hotfixData.Size = blobData->size();
hotfixQueryResponse.HotfixContent.append(blobData->data(), blobData->size());
}
else
// Do not send Status::Valid when we don't have a hotfix blob for current locale
hotfixData.Record.HotfixStatus = storage ? DB2Manager::HotfixRecord::Status::RecordRemoved : DB2Manager::HotfixRecord::Status::Invalid;
}
}
}