Skip to content

Commit

Permalink
Update protocolgame.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jprzimba committed Dec 20, 2024
1 parent 6972d7d commit 4a5dea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7434,7 +7434,7 @@ void ProtocolGame::sendPodiumWindow(const std::shared_ptr<Item> &podium, const P
}

void ProtocolGame::sendUpdatedVIPStatus(uint32_t guid, VipStatus_t status) {
if (oldProtocol) {
if (oldProtocol && status == VipStatus_t::TRAINING) {
return;
}

Expand All @@ -7446,7 +7446,7 @@ void ProtocolGame::sendUpdatedVIPStatus(uint32_t guid, VipStatus_t status) {
}

void ProtocolGame::sendVIP(uint32_t guid, const std::string &name, const std::string &description, uint32_t icon, bool notify, VipStatus_t status) {
if (oldProtocol) {
if (oldProtocol && status == VipStatus_t::TRAINING) {
return;
}

Expand Down

0 comments on commit 4a5dea8

Please sign in to comment.