summaryrefslogtreecommitdiff
path: root/src/shared/ratelimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/ratelimit.c')
-rw-r--r--src/shared/ratelimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/ratelimit.c b/src/shared/ratelimit.c
index 1054d52f97..01b62b7b38 100644
--- a/src/shared/ratelimit.c
+++ b/src/shared/ratelimit.c
@@ -46,7 +46,7 @@ bool ratelimit_test(RateLimit *r) {
goto good;
}
- if (r->num <= r->burst)
+ if (r->num < r->burst)
goto good;
return false;