]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] RBL: Add missing groups
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Feb 2023 12:21:32 +0000 (12:21 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 11 Feb 2023 12:21:32 +0000 (12:21 +0000)
src/plugins/lua/rbl.lua

index e0cbf6960588f92aa30530fdbc5fcc71bd431e87..cc43346d3a51971b58b1a72b1a73d9a1b7388689 100644 (file)
@@ -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, ',')