summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-21 21:35:34 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:59 +0200
commitb167dfd575095cd574560a054673b0d3e78d9966 (patch)
tree03595a6324788fcb4f908b62f53befb2da8d3fca /Bugzilla.pm
parentc90322fffc1ecf062a8c48e8a1bc27077fa5dbc2 (diff)
downloadbugzilla-b167dfd575095cd574560a054673b0d3e78d9966.tar.gz
bugzilla-b167dfd575095cd574560a054673b0d3e78d9966.tar.xz
port BlockIP to mojolicious
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 4fbcd533e..f5516d247 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -801,7 +801,7 @@ sub check_rate_limit {
my $limit = join("/", @$limit);
Bugzilla->audit("[rate_limit] action=$action, ip=$ip, limit=$limit, name=$name");
if ($action eq 'block') {
- Bugzilla::ModPerl::BlockIP->block_ip($ip);
+ $Bugzilla::Quantum::CGI::C->block_ip($ip);
ThrowUserError("rate_limit");
}
}