From: Andrew Lewis Date: Mon, 20 Jan 2025 11:24:15 +0000 (+0200) Subject: [Fix] RBL: fix use of `content_urls` and `images` inside `checks` X-Git-Tag: 3.11.1~36^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5310%2Fhead;p=thirdparty%2Frspamd.git [Fix] RBL: fix use of `content_urls` and `images` inside `checks` --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 2c2fe0071e..3c7396cf89 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -594,9 +594,9 @@ local function gen_rbl_callback(rule) limit = rule.requests_limit, ignore_redirected = true, ignore_ip = rule.no_ip, - need_images = rule.images, + need_images = rule.images and true or false, need_emails = false, - need_content = rule.content_urls or false, + need_content = rule.content_urls and true or false, esld_limit = esld_lim, no_cache = true, }