From 98b0ab866da05c268caeecd0967f2c6716bbd889 Mon Sep 17 00:00:00 2001 From: Marc G Gauthier Date: Tue, 21 Feb 2017 17:07:26 +0100 Subject: [PATCH] Typo in comment --- lib/rack/attack/allow2ban.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)