diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-07-23 17:41:14 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-07-31 18:57:17 +0200 |
commit | a108778bc2784cdadfc6b2df4ec989b46dc162ca (patch) | |
tree | 270e470940347b44768e1d1240124ae1a6f9e515 /Bugzilla/Quantum/Plugin/BlockIP.pm | |
parent | 8ca2304eea840e37bcf182f21e2c14bd21ad9cd7 (diff) | |
download | bugzilla-a108778bc2784cdadfc6b2df4ec989b46dc162ca.tar.gz bugzilla-a108778bc2784cdadfc6b2df4ec989b46dc162ca.tar.xz |
more tidy
Diffstat (limited to 'Bugzilla/Quantum/Plugin/BlockIP.pm')
-rw-r--r-- | Bugzilla/Quantum/Plugin/BlockIP.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Quantum/Plugin/BlockIP.pm b/Bugzilla/Quantum/Plugin/BlockIP.pm index ebeb2a4aa..058ecbf64 100644 --- a/Bugzilla/Quantum/Plugin/BlockIP.pm +++ b/Bugzilla/Quantum/Plugin/BlockIP.pm @@ -34,8 +34,8 @@ sub _before_routes { if ( $MEMCACHED && $MEMCACHED->get("block_ip:$ip") ) { $c->block_ip($ip); $c->res->code(429); - $c->res->message("Too Many Requests"); - $c->res->body("Too Many Requests"); + $c->res->message('Too Many Requests'); + $c->res->body('Too Many Requests'); $c->finish; } } |