]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Addoption for ARC_ALLOW
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Jun 2017 14:07:22 +0000 (15:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 1 Jun 2017 14:24:26 +0000 (15:24 +0100)
src/plugins/lua/arc.lua

index 403bfffcc65e8b610a43f9f041b128fe3e8a6e95..7ff1fd47fe7d2ba0264d6a1f18dbb3b8fb24e200 100644 (file)
@@ -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