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/ratelimit.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/ratelimit.lua')
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 05b1f5ed8..61d19966b 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -556,7 +556,7 @@ local function ratelimit_cb(task) bucket.burst, bucket.rate, data[2], data[3], data[4]) task:set_pre_result('soft reject', - message_func(task, lim_name, prefix, bucket)) + message_func(task, lim_name, prefix, bucket), N) end end end |