summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-01-25 16:25:07 +0600
committerGitHub <noreply@github.com>2024-01-25 16:25:07 +0600
commitf8dc0139b49d098b7e615fc1c3ccabcde79c994d (patch)
treef4d2768e8425733916cbe43a26bcf64bcf22fafb /src/plugins/lua/rbl.lua
parent6fb583995a3f172fa8b4707f515329a8f06ca104 (diff)
parent1ea7a0b88cb6905a101736ff9f1b4dfe0fadfb7d (diff)
downloadrspamd-f8dc0139b49d098b7e615fc1c3ccabcde79c994d.tar.gz
rspamd-f8dc0139b49d098b7e615fc1c3ccabcde79c994d.zip
Merge pull request #4790 from fatalbanana/fix_rbl_warning
[Minor] rbl: fix warning
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index a18f9a731..b2ccf8699 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -1342,7 +1342,7 @@ for key, rbl in pairs(opts.rbls) do
rspamd_logger.errx(rspamd_config, 'invalid config for %s: %s, RBL is DISABLED',
key, err)
else
- res = rbl_common.convert_checks(res)
+ res = rbl_common.convert_checks(res, rbl.symbol or key:upper())
-- Aliases
if res.return_codes then
res.returncodes = res.return_codes