From b167dfd575095cd574560a054673b0d3e78d9966 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 21 Jun 2018 15:35:34 -0400 Subject: port BlockIP to mojolicious --- Bugzilla.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla.pm') 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"); } } -- cgit v1.2.3-24-g4f1b