diff --git a/speedbump.go b/speedbump.go index 4494c6d..dcd8011 100644 --- a/speedbump.go +++ b/speedbump.go @@ -119,7 +119,7 @@ func (r *RateLimiter) Attempt(id string) (bool, error) { return false, err } - if str != "" && intVal > r.max { + if str != "" && intVal >= r.max { return false, nil }