diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-01-25 16:25:07 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 16:25:07 +0600 |
commit | f8dc0139b49d098b7e615fc1c3ccabcde79c994d (patch) | |
tree | f4d2768e8425733916cbe43a26bcf64bcf22fafb /src/plugins/lua/rbl.lua | |
parent | 6fb583995a3f172fa8b4707f515329a8f06ca104 (diff) | |
parent | 1ea7a0b88cb6905a101736ff9f1b4dfe0fadfb7d (diff) | |
download | rspamd-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.lua | 2 |
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 |