aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 6cab66855..debd62632 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -327,7 +327,7 @@ end
-- Parse settings map from the ucl line
local function process_settings_map(string)
local ucl = require "ucl"
- local parser = ucl.parser(1)
+ local parser = ucl.parser()
local res,err = parser:parse_string(string)
if not res then
rspamd_logger.warn('cannot parse settings map: ' .. err)