From 065794ed66e025c7ac57c708bb25ca4f2c6e62e9 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 17 Aug 2021 20:02:43 +0200 Subject: Core/PacketIO: Do not send hotfix Status::Valid when we don't have a hotfix blob for current locale --- src/server/game/Handlers/HotfixHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/Handlers/HotfixHandler.cpp b/src/server/game/Handlers/HotfixHandler.cpp index 82d32e87b05..828c06dac18 100644 --- a/src/server/game/Handlers/HotfixHandler.cpp +++ b/src/server/game/Handlers/HotfixHandler.cpp @@ -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; } } } -- cgit v1.2.3