diff options
author | eneq123 <you@example.com> | 2014-09-22 13:31:09 +0400 |
---|---|---|
committer | eneq123 <you@example.com> | 2014-09-22 13:31:09 +0400 |
commit | 884aaf5c034da849e9d9fc17cf55d8294292fd42 (patch) | |
tree | e7495240c139e787934f207535ac5bd3cef8eb9f /src/plugins | |
parent | 8f20ff496c3d4cf5e2561cb3afd044f8523a3be2 (diff) | |
download | rspamd-884aaf5c034da849e9d9fc17cf55d8294292fd42.tar.gz rspamd-884aaf5c034da849e9d9fc17cf55d8294292fd42.zip |
action: soft_reject -> "soft reject"
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 82548e332..2c327a7c5 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -70,8 +70,8 @@ local function check_specific_limit (task, limit, key) rspamd_redis.make_request(task, upstream:get_ip_string(), upstream:get_port(), rate_set_key_cb, 'SET %b %b', key, lstr) if bucket > limit[1] then - rspamd_logger.info(string.format('[%s]:soft_reject - Ratelimit exceeded', key)) - task:set_pre_result(rspamd_actions['soft_reject'], 'Ratelimit exceeded') + rspamd_logger.info(string.format('[%s]:soft reject - Ratelimit exceeded', key)) + task:set_pre_result(rspamd_actions['soft reject'], 'Ratelimit exceeded') end else rspamd_redis.make_request(task, upstream:get_ip_string(), upstream:get_port(), rate_set_key_cb, |