diff options
Diffstat (limited to 'src/server/sv_main.c')
-rw-r--r-- | src/server/sv_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/sv_main.c b/src/server/sv_main.c index aad063e2..77d1a35d 100644 --- a/src/server/sv_main.c +++ b/src/server/sv_main.c @@ -501,7 +501,7 @@ qboolean SVC_RateLimit( leakyBucket_t *bucket, int burst, int period ) { int expired = interval / period; int expiredRemainder = interval % period; - if ( expired > bucket->burst ) { + if ( expired > bucket->burst || interval < 0 ) { bucket->burst = 0; bucket->lastTime = now; } else { |