aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-11-04 12:51:18 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-11-04 12:51:18 +0200
commitc0c82769a0740d21a506cd79fe5b4234e1f400c9 (patch)
treeb1fa340d5a084ced0fd5f7457a3f0883502ea5e3 /src/plugins
parentf5d5be99421097d18824c69148b7dacb608e7b84 (diff)
downloadrspamd-c0c82769a0740d21a506cd79fe5b4234e1f400c9.tar.gz
rspamd-c0c82769a0740d21a506cd79fe5b4234e1f400c9.zip
[Minor] force_actions: set a group for symbols
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/force_actions.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua
index 7f203b066..4a87cf56f 100644
--- a/src/plugins/lua/force_actions.lua
+++ b/src/plugins/lua/force_actions.lua
@@ -157,6 +157,7 @@ local function configure_module()
name = name,
callback = cb,
flags = 'empty',
+ group = N,
})
for _, a in ipairs(atoms) do
rspamd_config:register_dependency(name, a)
@@ -206,6 +207,7 @@ local function configure_module()
t.name = 'FORCE_ACTION_' .. name
t.callback = cb
t.flags = 'empty, ignore_passthrough'
+ t.group = N
rspamd_config:register_symbol(t)
if t.type == 'normal' then
for _, a in ipairs(atoms) do
@@ -222,4 +224,4 @@ local function configure_module()
end
end
-configure_module() \ No newline at end of file
+configure_module()