aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_cfg_transform.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2020-01-23 21:23:25 +0200
committerAndrew Lewis <nerf@judo.za.org>2020-01-23 21:23:25 +0200
commita114f1b6cdf200327716b6857518162d33349d5f (patch)
tree4f30a37287686dd5ecd049b79c77aed334b482fb /lualib/lua_cfg_transform.lua
parent46278c35eca291e69d5da2b47eda80cb5c8b65e4 (diff)
downloadrspamd-a114f1b6cdf200327716b6857518162d33349d5f.tar.gz
rspamd-a114f1b6cdf200327716b6857518162d33349d5f.zip
[Minor] Fix previous commit
Diffstat (limited to 'lualib/lua_cfg_transform.lua')
-rw-r--r--lualib/lua_cfg_transform.lua2
1 files changed, 1 insertions, 1 deletions
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