commit 8f39eca: [Minor] Oops, fix module name passing

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Apr 22 13:42:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-22 14:40:36 +0100
URL: https://github.com/rspamd/rspamd/commit/8f39eca68dc59863802490577a5ad307510cecf1 (HEAD -> master)

[Minor] Oops, fix module name passing

---
 lualib/lua_dkim_tools.lua        | 2 +-
 src/plugins/lua/arc.lua          | 2 +-
 src/plugins/lua/dkim_signing.lua | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua
index bb88a2a35..ea84d58de 100644
--- a/lualib/lua_dkim_tools.lua
+++ b/lualib/lua_dkim_tools.lua
@@ -620,7 +620,7 @@ exports.validate_signing_settings = function(settings)
       (settings.use_vault and settings.vault_url and settings.vault_token)
 end
 
-exports.process_signing_settings = function(settings, opts)
+exports.process_signing_settings = function(N, settings, opts)
   local lua_maps = require "lua_maps"
   for k,v in pairs(opts) do
     if k == 'sign_networks' then
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 0bdaf5e14..06d0d5c5f 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -615,7 +615,7 @@ local function arc_signing_cb(task)
   end
 end
 
-dkim_sign_tools.process_signing_settings(settings, opts)
+dkim_sign_tools.process_signing_settings(N, settings, opts)
 
 if not dkim_sign_tools.validate_signing_settings(settings) then
   rspamd_logger.infox(rspamd_config, 'mandatory parameters missing, disable arc signing')
diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua
index 035c58492..ffbf71686 100644
--- a/src/plugins/lua/dkim_signing.lua
+++ b/src/plugins/lua/dkim_signing.lua
@@ -127,7 +127,7 @@ end
 local opts =  rspamd_config:get_all_opt('dkim_signing')
 if not opts then return end
 
-dkim_sign_tools.process_signing_settings(settings, opts)
+dkim_sign_tools.process_signing_settings(N, settings, opts)
 
 if not dkim_sign_tools.validate_signing_settings(settings) then
   rspamd_logger.infox(rspamd_config, 'mandatory parameters missing, disable dkim signing')


More information about the Commits mailing list