From a04e78fc742855c04589f46142e94d36fa880b2f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sat, 4 Nov 2023 12:51:18 +0200 Subject: [PATCH] [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() -- 2.39.5