diff --git a/lib/rack/attack/allow2ban.rb b/lib/rack/attack/allow2ban.rb index bf8c598..763253b 100644 --- a/lib/rack/attack/allow2ban.rb +++ b/lib/rack/attack/allow2ban.rb @@ -7,7 +7,7 @@ module Rack 'allow2ban' end - # everything the same here except we return only return true + # everything is the same here except we only return true # (blocking the request) if they have tripped the limit. def fail!(discriminator, bantime, findtime, maxretry) count = cache.count("#{key_prefix}:count:#{discriminator}", findtime)