]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix previous commit 3234/head
authorAndrew Lewis <nerf@judo.za.org>
Thu, 23 Jan 2020 19:23:25 +0000 (21:23 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 23 Jan 2020 19:23:25 +0000 (21:23 +0200)
lualib/lua_cfg_transform.lua

index bdcc8263557574176b39e4af5eba3ea8f6244cc2..33c24875b3913790bb2360561fafa017a3d98194 100644 (file)
@@ -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