diff --git a/proxy/util.coffee b/proxy/util.coffee index 3cb4ff6..8f4c75f 100644 --- a/proxy/util.coffee +++ b/proxy/util.coffee @@ -174,7 +174,7 @@ class BucketRateLimit # How many seconds in the future will the limit expire? when: -> - age() + @age() (@amount - @capacity) / (@capacity / @time) isLimited: ->