]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Settings: Fix function invocation
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 11:11:10 +0000 (11:11 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 11:11:10 +0000 (11:11 +0000)
src/plugins/lua/settings.lua

index 6cea011923d5be4f6e8fde47c4f31d46fc082033..8d2122868e878cf47a42e67c23c657026ce254ef 100644 (file)
@@ -229,7 +229,7 @@ local function check_settings(task)
         end
 
         local ret = fun.any(function(d)
-          return check_func(value, d)
+          return check_func(d, value)
         end, to_check)
         if ret then
           res = true