Browse Source

[Minor] Fix indentation

tags/2.3
Vsevolod Stakhov 4 years ago
parent
commit
62069313ae
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      lualib/lua_cfg_transform.lua

+ 3
- 1
lualib/lua_cfg_transform.lua View File

@@ -449,7 +449,9 @@ return function(cfg)
if cfg[mod] then
if cfg[mod].auth_only ~= nil then
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)
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
end

Loading…
Cancel
Save