From 57a44b42433b59762a591031feddc14ccca73009 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 14 May 2005 19:25:18 +0000 Subject: (svn r2308) - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security" - CodeChange: move ValParamRailtype() to check rail type from command.h to vehicle.h where it is better suited. --- network.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'network.h') diff --git a/network.h b/network.h index 87bdd6306..752cb6945 100644 --- a/network.h +++ b/network.h @@ -92,13 +92,13 @@ typedef struct NetworkPlayerInfo { } NetworkPlayerInfo; typedef struct NetworkClientInfo { - uint16 client_index; // Index of the client (same as ClientState->index) - char client_name[NETWORK_CLIENT_NAME_LENGTH]; // Name of the client - byte client_lang; // The language of the client - byte client_playas; // As which player is this client playing - uint32 client_ip; // IP-address of the client (so he can be banned) - uint16 join_date; // Gamedate the player has joined - char unique_id[NETWORK_NAME_LENGTH]; // Every play sends an unique id so we can indentify him + uint16 client_index; /// Index of the client (same as ClientState->index) + char client_name[NETWORK_CLIENT_NAME_LENGTH]; /// Name of the client + byte client_lang; /// The language of the client + byte client_playas; /// As which player is this client playing (PlayerID) + uint32 client_ip; /// IP-address of the client (so he can be banned) + uint16 join_date; /// Gamedate the player has joined + char unique_id[NETWORK_NAME_LENGTH]; /// Every play sends an unique id so we can indentify him } NetworkClientInfo; typedef struct NetworkGameList { -- cgit v1.2.3-54-g00ecf