mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-22 04:11:45 +00:00
IOQ3 commit 2369
This commit is contained in:
parent
121659f2c5
commit
e74fbb55b8
1 changed files with 4 additions and 0 deletions
|
@ -570,6 +570,10 @@ static void SVC_Status( netadr_t from ) {
|
|||
return;
|
||||
}
|
||||
|
||||
// A maximum challenge length of 128 should be more than plenty.
|
||||
if(strlen(Cmd_Argv(1)) > 128)
|
||||
return;
|
||||
|
||||
strcpy( infostring, Cvar_InfoString( CVAR_SERVERINFO ) );
|
||||
|
||||
// echo back the parameter to status. so master servers can use it as a challenge
|
||||
|
|
Loading…
Reference in a new issue