From: Carsten Rosenberg Date: Thu, 7 Jan 2021 18:08:15 +0000 (+0100) Subject: [Minor] force_actions - remove current action bypass X-Git-Tag: 2.7~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6cdbfcb99822274ab982bce7345010910bd5a8e;p=thirdparty%2Frspamd.git [Minor] force_actions - remove current action bypass --- diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua index 99dcb15cc9..62e7cdc5d1 100644 --- a/src/plugins/lua/force_actions.lua +++ b/src/plugins/lua/force_actions.lua @@ -91,9 +91,7 @@ local function gen_cb(params) end local cact = task:get_metric_action('default') - if params.act and cact == params.act then - return false - end + if params.honor and params.honor[cact] then return false elseif params.raction and not params.raction[cact] then