1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Move Server ban check to different point

This commit is contained in:
sfan5 2024-01-24 19:39:28 +01:00
parent 5dbc1d4c08
commit 89f3502b56
3 changed files with 25 additions and 25 deletions

View file

@ -95,6 +95,9 @@ void Server::handleCommand_Init(NetworkPacket* pkt)
return;
}
if (denyIfBanned(peer_id))
return;
// First byte after command is maximum supported
// serialization version
u8 client_max;