This commit is contained in:
Ludwig Nussel 2010-06-21 07:11:52 +00:00
parent 233fcb0caa
commit 1434fd1845
1 changed files with 2 additions and 2 deletions

View File

@ -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
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 ) );
return;
}
@ -704,7 +704,7 @@ static void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
// Make DoS via rcon impractical
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;
}