aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/settings.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-18 15:25:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-18 15:25:48 +0000
commit5d9fc64987e526b3a3cccd3dcb5f980ccc8b83cb (patch)
tree0ba49ed8686222f4290966468114cfea82f8d538 /src/plugins/lua/settings.lua
parente9e647d5cea96f31d2feb5f0341cb605529d2074 (diff)
downloadrspamd-5d9fc64987e526b3a3cccd3dcb5f980ccc8b83cb.tar.gz
rspamd-5d9fc64987e526b3a3cccd3dcb5f980ccc8b83cb.zip
Do not reset case of settings if parsed from lua.
Diffstat (limited to 'src/plugins/lua/settings.lua')
-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)