mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: server: immediately exit from SV_GetChallenge on unknown type addresses
This commit is contained in:
@@ -115,6 +115,7 @@ static int SV_GetChallenge( netadr_t from, qboolean *error )
|
||||
return 0;
|
||||
default:
|
||||
*error = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
MD5Update( &ctx, (byte *)svs.challenge_salt, sizeof( svs.challenge_salt ));
|
||||
|
||||
Reference in New Issue
Block a user