Typo in comment

This commit is contained in:
Marc G Gauthier 2017-02-21 17:07:26 +01:00 committed by GitHub
parent dc308add10
commit 98b0ab866d

View file

@ -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)