aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-12 11:11:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-12 11:11:10 +0000
commit2b1a95aedcf68effe867940478ca4430b2d13dc1 (patch)
treea72e97f56905d5d24efa1e8cda1a6e6c2d5b283d
parent469dcecb601d6622ff0f539349fd568c4969ef35 (diff)
downloadrspamd-2b1a95aedcf68effe867940478ca4430b2d13dc1.tar.gz
rspamd-2b1a95aedcf68effe867940478ca4430b2d13dc1.zip
[Minor] Settings: Fix function invocation
-rw-r--r--src/plugins/lua/settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index 6cea01192..8d2122868 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -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