Browse Source

[Minor] force_actions: set a group for symbols

tags/3.8.0
Andrew Lewis 7 months ago
parent
commit
c0c82769a0
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/plugins/lua/force_actions.lua

+ 3
- 1
src/plugins/lua/force_actions.lua View File

@@ -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()
configure_module()

Loading…
Cancel
Save