diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-21 21:35:34 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:59 +0200 |
commit | b167dfd575095cd574560a054673b0d3e78d9966 (patch) | |
tree | 03595a6324788fcb4f908b62f53befb2da8d3fca /Bugzilla.pm | |
parent | c90322fffc1ecf062a8c48e8a1bc27077fa5dbc2 (diff) | |
download | bugzilla-b167dfd575095cd574560a054673b0d3e78d9966.tar.gz bugzilla-b167dfd575095cd574560a054673b0d3e78d9966.tar.xz |
port BlockIP to mojolicious
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 2 |
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"); } } |