diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-16 12:56:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-16 12:56:37 +0100 |
commit | d32a22c106dc484bae439f12f418034f19290a96 (patch) | |
tree | 299a054de3a563c3a17de8c67904fd3ba68f256f /lualib | |
parent | b45c0b5360ac0c77a49bdef30740da5902391416 (diff) | |
download | rspamd-d32a22c106dc484bae439f12f418034f19290a96.tar.gz rspamd-d32a22c106dc484bae439f12f418034f19290a96.zip |
[Minor] One more sanity check
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_cfg_transform.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index af9ae6cc2..43d4a2929 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -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 |