aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/plugins')
-rw-r--r--lualib/plugins/rbl.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua
index 7105d73a4..4eeff7b09 100644
--- a/lualib/plugins/rbl.lua
+++ b/lualib/plugins/rbl.lua
@@ -142,13 +142,15 @@ local function convert_checks(rule)
rspamd_logger.errx(rspamd_config, 'rbl rule %s has check %s which requires an argument',
rule.symbol, check)
return nil
- else
- rule[check] = check_type
end
end
+
+ rule[check] = check_type
+
if not check_type.connfilter then
all_connfilter = false
end
+
if not check_type then
rspamd_logger.errx(rspamd_config, 'rbl rule %s has invalid check type: %s',
rule.symbol, check)