aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-02-08 12:04:34 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-02-08 12:04:34 +0000
commit2207724a6c94a36fe597fc8ec7e0f197b90c3ec0 (patch)
tree64822a95d6f9dde0a303902e645efd2c73e66fde /src/plugins/lua/rbl.lua
parent838f95817002d036462f469d40513ce9ae837536 (diff)
downloadrspamd-2207724a6c94a36fe597fc8ec7e0f197b90c3ec0.tar.gz
rspamd-2207724a6c94a36fe597fc8ec7e0f197b90c3ec0.zip
[Minor] Add RBL callback symbols to the `rbl` group
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 75af371bc..e0cbf6960 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -1298,6 +1298,7 @@ rspamd_config:register_symbol{
callback = rbl_callback_white,
name = 'RBL_CALLBACK_WHITE',
flags = 'nice,empty,no_squeeze',
+ groups = {'rbl'},
augmentations = {string.format("timeout=%f", rspamd_config:get_dns_timeout() or 0.0)},
}
@@ -1306,6 +1307,7 @@ rspamd_config:register_symbol{
callback = rbl_callback_fin,
name = 'RBL_CALLBACK',
flags = 'empty,no_squeeze',
+ groups = {'rbl'},
augmentations = {string.format("timeout=%f", rspamd_config:get_dns_timeout() or 0.0)},
}