From: Andrew Lewis Date: Sat, 4 Nov 2023 10:51:18 +0000 (+0200) Subject: [Minor] force_actions: set a group for symbols X-Git-Tag: 3.8.0~86^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F4685%2Fhead;p=rspamd.git [Minor] force_actions: set a group for symbols --- 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()