mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
fix typo
This commit is contained in:
parent
233fcb0caa
commit
1434fd1845
1 changed files with 2 additions and 2 deletions
|
@ -693,7 +693,7 @@ static void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
|
||||||
|
|
||||||
// Prevent using rcon as an amplifier and make dictionary attacks impractical
|
// Prevent using rcon as an amplifier and make dictionary attacks impractical
|
||||||
if ( SVC_RateLimitAddress( from, 10, 1000 ) ) {
|
if ( SVC_RateLimitAddress( from, 10, 1000 ) ) {
|
||||||
Com_DPrintf( "SVC_Status: rate limit from %s exceeded, dropping request\n",
|
Com_DPrintf( "SVC_RemoteCommand: rate limit from %s exceeded, dropping request\n",
|
||||||
NET_AdrToString( from ) );
|
NET_AdrToString( from ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -704,7 +704,7 @@ static void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
|
||||||
|
|
||||||
// Make DoS via rcon impractical
|
// Make DoS via rcon impractical
|
||||||
if ( SVC_RateLimit( &bucket, 10, 1000 ) ) {
|
if ( SVC_RateLimit( &bucket, 10, 1000 ) ) {
|
||||||
Com_DPrintf( "SVC_Status: rate limit exceeded, dropping request\n" );
|
Com_DPrintf( "SVC_RemoteCommand: rate limit exceeded, dropping request\n" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue