Skip to content

Commit

Permalink
fix crash (#1644)
Browse files Browse the repository at this point in the history
tested that sending an empty packet with this messageID no longer crashes the chat server
  • Loading branch information
EmosewaMC authored Nov 18, 2024
1 parent de3fe93 commit 628ac98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dChatServer/PlayerContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ void PlayerContainer::CreateTeamServer(Packet* packet) {

if (team != nullptr) {
team->zoneId = zoneId;
UpdateTeamsOnWorld(team, false);
}

UpdateTeamsOnWorld(team, false);
}

void PlayerContainer::BroadcastMuteUpdate(LWOOBJID player, time_t time) {
Expand Down

0 comments on commit 628ac98

Please sign in to comment.