fix typo
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user