commit 00b12b5: [Minor] Sigh, another try

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Aug 16 12:07:05 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-16 13:05:20 +0100
URL: https://github.com/rspamd/rspamd/commit/00b12b55c6100504091da0d1489ac282833e33dc (HEAD -> master)

[Minor] Sigh, another try

---
 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 010c3fdb8..f74d6d49d 100644
--- a/lualib/lua_cfg_transform.lua
+++ b/lualib/lua_cfg_transform.lua
@@ -360,7 +360,7 @@ return function(cfg)
   end
 
   -- Deal with IP_SCORE
-  if cfg.ip_score and (cfg.ip_score.servers or cfg.redis) then
+  if cfg.ip_score and (cfg.ip_score.servers or cfg.redis.servers) then
     logger.warnx(rspamd_config, 'ip_score module is deprecated in honor of reputation module!')
 
     if not cfg.reputation then


More information about the Commits mailing list