mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
fix crash (#1644)
tested that sending an empty packet with this messageID no longer crashes the chat server
This commit is contained in:
parent
de3fe93100
commit
628ac9807e
@ -148,10 +148,9 @@ void PlayerContainer::CreateTeamServer(Packet* packet) {
|
|||||||
|
|
||||||
if (team != nullptr) {
|
if (team != nullptr) {
|
||||||
team->zoneId = zoneId;
|
team->zoneId = zoneId;
|
||||||
}
|
|
||||||
|
|
||||||
UpdateTeamsOnWorld(team, false);
|
UpdateTeamsOnWorld(team, false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void PlayerContainer::BroadcastMuteUpdate(LWOOBJID player, time_t time) {
|
void PlayerContainer::BroadcastMuteUpdate(LWOOBJID player, time_t time) {
|
||||||
CBITSTREAM;
|
CBITSTREAM;
|
||||||
|
Loading…
Reference in New Issue
Block a user