summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum/Plugin/BlockIP.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-07-23 17:41:14 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-20 23:52:51 +0200
commit7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e (patch)
treefecad2b8aefd7561f7033fee3efbed075257a4de /Bugzilla/Quantum/Plugin/BlockIP.pm
parent8d59839660e4aa848c32295c1851bb0180f90116 (diff)
downloadbugzilla-7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e.tar.gz
bugzilla-7361facceb4b2bf96a72ff0ab3a06f125a5ebe7e.tar.xz
more tidy
Diffstat (limited to 'Bugzilla/Quantum/Plugin/BlockIP.pm')
-rw-r--r--Bugzilla/Quantum/Plugin/BlockIP.pm4
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;
}
}