diff options
| -rw-r--r-- | code/client/cl_parse.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c index b12105b..dd89074 100644 --- a/code/client/cl_parse.c +++ b/code/client/cl_parse.c @@ -380,7 +380,7 @@ void CL_SystemInfoChanged( void ) {  		{  			if(FS_CheckDirTraversal(value))  			{ -				Com_Printf("WARNING: Server sent invalid fs_game value %s\n", value); +				Com_Printf(S_COLOR_YELLOW "WARNING: Server sent invalid fs_game value %s\n", value);  				continue;  			} @@ -393,7 +393,10 @@ void CL_SystemInfoChanged( void ) {  		{  			// If this cvar may not be modified by a server discard the value.  			if(!(cvar_flags & (CVAR_SYSTEMINFO | CVAR_SERVER_CREATED))) +			{ +				Com_Printf(S_COLOR_YELLOW "WARNING: server is not allowed to set %s=%s\n", key, value);  				continue; +			}  			Cvar_Set(key, value);  		}  | 
