diff options
Diffstat (limited to 'lib/Plack')
| -rw-r--r-- | lib/Plack/Middleware/Throttle.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Plack/Middleware/Throttle.pm b/lib/Plack/Middleware/Throttle.pm index 8ba1537..a688425 100644 --- a/lib/Plack/Middleware/Throttle.pm +++ b/lib/Plack/Middleware/Throttle.pm @@ -32,6 +32,7 @@ sub _create_backend { if ( defined !$backend ) { Plack::Util::load_class("Plack::Middleware::Throttle::Backend::Hash"); + return Plack::Middleware::Throttle::Backend::Hash->new; } return $backend if defined $backend && Scalar::Util::blessed $backend; |
