From: Michal Adamek Date: Fri, 4 May 2018 09:50:41 +0000 (+0200) Subject: Fixed typo X-Git-Tag: 1.7.5~75^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2217%2Fhead;p=thirdparty%2Frspamd.git Fixed typo --- diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index 065a9d8f79..43cbea23ec 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -75,7 +75,7 @@ rspamd_config:register_symbol{ parent = rcvd_cb_id, type = 'virtual', description = 'Two received', - group = 'header', + group = 'headers', } rspamd_config:register_symbol{ name = 'RCVD_COUNT_THREE', diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 466ebafced..e060fe0844 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -233,7 +233,7 @@ end local keywords = { ['ip'] = { - get_value = function(task) + ['get_value'] = function(task) local ip = task:get_ip() if ip and ip:is_valid() then return tostring(ip) end return nil