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: https://source.dussan.org/?a=commitdiff_plain;h=a60be6c6a5df1cc34c1720ca6d6caf775e15e30f;p=rspamd.git Fixed typo --- diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index 065a9d8f7..43cbea23e 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 466ebafce..e060fe084 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