commit 7f0fcf9: [Minor] Arc: Fix method usage

Vsevolod Stakhov vsevolod at rspamd.com
Tue Apr 26 19:42:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-04-26 20:36:02 +0100
URL: https://github.com/rspamd/rspamd/commit/7f0fcf9e2a482f90fd59b5f6a829a042564c8a34 (HEAD -> master)

[Minor] Arc: Fix method usage

---
 src/plugins/lua/arc.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 4ee893e5f..a3bc7ae2c 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -819,7 +819,7 @@ rspamd_config:register_dependency(settings['sign_symbol'], 'DMARC_CHECK')
 
 if settings.adjust_dmarc and settings.whitelisted_signers_map then
   local function arc_dmarc_adjust_cb(task)
-    local trusted_arc_ar = task:get_cached(AR_TRUSTED_CACHE_KEY)
+    local trusted_arc_ar = task:cache_get(AR_TRUSTED_CACHE_KEY)
     local sym_to_adjust
     if task:has_symbol(ar_settings.dmarc_symbols.reject) then
       sym_to_adjust = ar_settings.dmarc_symbols.reject


More information about the Commits mailing list