commit c6cdbfc: [Minor] force_actions - remove current action bypass
    Carsten Rosenberg 
    c.rosenberg at heinlein-support.de
       
    Thu Jan  7 19:56:08 UTC 2021
    
    
  
Author: Carsten Rosenberg
Date: 2021-01-07 19:08:15 +0100
URL: https://github.com/rspamd/rspamd/commit/c6cdbfcb99822274ab982bce7345010910bd5a8e
[Minor] force_actions - remove current action bypass
---
 src/plugins/lua/force_actions.lua | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua
index 99dcb15cc..62e7cdc5d 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
    
    
More information about the Commits
mailing list