commit a114f1b: [Minor] Fix previous commit

Andrew Lewis nerf at judo.za.org
Thu Jan 23 19:28:06 UTC 2020


Author: Andrew Lewis
Date: 2020-01-23 21:23:25 +0200
URL: https://github.com/rspamd/rspamd/commit/a114f1b6cdf200327716b6857518162d33349d5f (refs/pull/3234/head)

[Minor] Fix previous commit

---
 lualib/lua_cfg_transform.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua
index bdcc82635..33c24875b 100644
--- a/lualib/lua_cfg_transform.lua
+++ b/lualib/lua_cfg_transform.lua
@@ -451,7 +451,7 @@ return function(cfg)
         if cfg[mod].sign_authenticated ~= nil then
 	  logger.warnx(rspamd_config, 'both auth_only (%s) and sign_authenticated (%s) for %s are specified, prefer auth_only', cfg[mod].auth_only, cfg[mod].sign_authenticated, mod)
         end
-        cfg.[mod].sign_authenticated = cfg.[mod].auth_only
+        cfg[mod].sign_authenticated = cfg[mod].auth_only
       end
     end
   end


More information about the Commits mailing list