diff options
author | Andrew Lewis <nerf@judo.za.org> | 2024-01-25 11:12:53 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2024-01-25 11:12:53 +0200 |
commit | 1ea7a0b88cb6905a101736ff9f1b4dfe0fadfb7d (patch) | |
tree | cc82c2a94501881157e7a35142f638308b4061ec /src | |
parent | b1299ac9108f4568959a2ef61d2f7992ee131c88 (diff) | |
download | rspamd-1ea7a0b88cb6905a101736ff9f1b4dfe0fadfb7d.tar.gz rspamd-1ea7a0b88cb6905a101736ff9f1b4dfe0fadfb7d.zip |
[Minor] rbl: fix warning
Diffstat (limited to 'src')
-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 |