]> source.dussan.org Git - rspamd.git/commitdiff
Fixed typo 2217/head
authorMichal Adamek <michal@adamkovi.net>
Fri, 4 May 2018 09:50:41 +0000 (11:50 +0200)
committerMichal Adamek <michal@adamkovi.net>
Fri, 4 May 2018 09:50:41 +0000 (11:50 +0200)
rules/headers_checks.lua
src/plugins/lua/ratelimit.lua

index 065a9d8f79641f9dc869e5e9c9813433cc9c899c..43cbea23ec33a91efb434469a4b399cfac44a10d 100644 (file)
@@ -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',
index 466ebafced50266a4b0ee1c0d180348943541c76..e060fe0844d8608a9100820842ba855d4d4e5f01 100644 (file)
@@ -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