Explorar el Código

[Rspamd] Remove unnecessary set_metric_action in tag script

andryyy hace 5 años
padre
commit
ddadc1ced2
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      data/conf/rspamd/lua/rspamd.local.lua

+ 0 - 1
data/conf/rspamd/lua/rspamd.local.lua

@@ -221,7 +221,6 @@ rspamd_config:register_symbol({
 
       if action ~= 'no action' and action ~= 'greylist' then
         rspamd_logger.infox("skipping tag handler for action: %s", action)
-        task:set_metric_action('default', action)
         return true
       end