summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-01 15:07:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-01 15:24:26 +0100
commitcaeab5bf0363fd8a77f5102a9647707abaa6c510 (patch)
tree4f51ab0f02f0df77bc4c66459cb96dbfd695a5f3
parenta5ffce167500bf67825aa801365e33d6ac5de414 (diff)
downloadrspamd-caeab5bf0363fd8a77f5102a9647707abaa6c510.tar.gz
rspamd-caeab5bf0363fd8a77f5102a9647707abaa6c510.zip
[Minor] Addoption for ARC_ALLOW
-rw-r--r--src/plugins/lua/arc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 403bfffcc..7ff1fd47f 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -214,7 +214,8 @@ local function arc_callback(task)
if cbdata.checked == #arc_sig_headers then
if cbdata.res == 'success' then
- task:insert_result(arc_symbols['allow'], 1.0, cbdata.errors)
+ task:insert_result(arc_symbols['allow'], 1.0, 'i=' ..
+ tostring(cbdata.checked))
else
task:insert_result(arc_symbols['reject'], 1.0, cbdata.errors)
end