From 68e23e3076f13059227ab8ae8cfbfe0e26e406c9 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:45:19 -0400 Subject: [PATCH] getMessageHandlingAction: Add missing faction request case --- src/multiplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/multiplay.cpp b/src/multiplay.cpp index 6bec7130ae1..5e363449435 100644 --- a/src/multiplay.cpp +++ b/src/multiplay.cpp @@ -1051,6 +1051,7 @@ HandleMessageAction getMessageHandlingAction(NETQUEUE& queue, uint8_t type) break; case NET_KICK: case NET_TEAMREQUEST: // spectators should not be allowed to request a team / non-spectator slot status + case NET_FACTIONREQUEST: case NET_POSITIONREQUEST: if (senderIsSpectator && !senderIsAdmin) {