commit 5c9e9f6: [Minor] RBL: Add missing groups

Vsevolod Stakhov vsevolod at rspamd.com
Sat Feb 11 12:42:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-02-11 12:21:32 +0000
URL: https://github.com/rspamd/rspamd/commit/5c9e9f60b38a0b630d03b35efe1eadf675d2e232

[Minor] RBL: Add missing groups

---
 src/plugins/lua/rbl.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index e0cbf6960..cc43346d3 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -1041,6 +1041,7 @@ local function add_rbl(key, rbl, global_opts)
       id = rspamd_config:register_symbol{
         type = 'callback',
         callback = callback,
+        groups = {'rbl'},
         name = rbl.symbol .. '_CHECK',
         flags = table.concat(flags_tbl, ',')
       }
@@ -1067,6 +1068,7 @@ local function add_rbl(key, rbl, global_opts)
         type = 'callback',
         callback = callback,
         name = rbl.symbol,
+        groups = {'rbl'},
         group = 'rbl',
         score = 0,
         flags = table.concat(flags_tbl, ',')


More information about the Commits mailing list