summaryrefslogtreecommitdiff
path: root/network_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_server.c')
-rw-r--r--network_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_server.c b/network_server.c
index eb13b0cdc..2e7adc021 100644
--- a/network_server.c
+++ b/network_server.c
@@ -602,7 +602,7 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_JOIN)
return;
}
break;
- case OWNER_SPECTATOR: /* Spectator */
+ case PLAYER_SPECTATOR: /* Spectator */
if (NetworkSpectatorCount() >= _network_game_info.spectators_max) {
SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_FULL);
return;