commit c0c8276: [Minor] force_actions: set a group for symbols
Andrew Lewis
nerf at judo.za.org
Sat Nov 4 12:28:03 UTC 2023
Author: Andrew Lewis
Date: 2023-11-04 12:51:18 +0200
URL: https://github.com/rspamd/rspamd/commit/c0c82769a0740d21a506cd79fe5b4234e1f400c9 (refs/pull/4685/head)
[Minor] force_actions: set a group for symbols
---
src/plugins/lua/force_actions.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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()
More information about the Commits
mailing list