forked from mirror/OpenTTD
(svn r1322) -Add: banning system (mostly tnx to guru3)
A server can ban people via ClientList Both server and dedicated can do it via console: 'ban', 'unban', 'banlist'.
This commit is contained in:
@@ -1069,6 +1069,7 @@ typedef void NetworkServerPacket(NetworkClientState *cs, Packet *p);
|
||||
// packet is found.
|
||||
static NetworkServerPacket* const _network_server_packet[] = {
|
||||
NULL, /*PACKET_SERVER_FULL,*/
|
||||
NULL, /*PACKET_SERVER_BANNED,*/
|
||||
RECEIVE_COMMAND(PACKET_CLIENT_JOIN),
|
||||
NULL, /*PACKET_SERVER_ERROR,*/
|
||||
RECEIVE_COMMAND(PACKET_CLIENT_COMPANY_INFO),
|
||||
|
Reference in New Issue
Block a user