]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] One more sanity check
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 16 Aug 2019 11:56:37 +0000 (12:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 16 Aug 2019 11:56:37 +0000 (12:56 +0100)
lualib/lua_cfg_transform.lua

index af9ae6cc2da3f1ce56392041446ab22348cdf673..43d4a29292f64de69a4f5d036f11e92dea6f8d02 100644 (file)
@@ -384,7 +384,7 @@ return function(cfg)
         }
       }
 
-      if cfg.symbols['IP_SCORE'] then
+      if cfg.symbols and cfg.symbols['IP_SCORE'] then
         local t = cfg.symbols['IP_SCORE']
 
         if not cfg.symbols['SENDER_REP_SPAM'] then