diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-13 13:30:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-13 13:30:23 +0100 |
commit | 0125a1a77135813ca7ae93a1571c6919d640d72b (patch) | |
tree | ee9b5a7b2e2ed82cba4807239e4e135028ada618 /src/plugins/lua/force_actions.lua | |
parent | 96b89f654ee0d57987f7094707691fc04c631697 (diff) | |
download | rspamd-0125a1a77135813ca7ae93a1571c6919d640d72b.tar.gz rspamd-0125a1a77135813ca7ae93a1571c6919d640d72b.zip |
[Minor] Include module name when setting pre result
Diffstat (limited to 'src/plugins/lua/force_actions.lua')
-rw-r--r-- | src/plugins/lua/force_actions.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua index 6c898b8ff..eddd09dea 100644 --- a/src/plugins/lua/force_actions.lua +++ b/src/plugins/lua/force_actions.lua @@ -79,9 +79,9 @@ local function gen_cb(expr, act, pool, message, subject, raction, honor, limit) task:set_metric_subject(subject) end if type(message) == 'string' then - task:set_pre_result(act, message) + task:set_pre_result(act, message, N) else - task:set_pre_result(act) + task:set_pre_result(act, nil, N) end return true, act end |