diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-20 14:54:08 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-20 14:54:08 +0100 |
commit | 5f113f60f2474a9caef1aa4cababa88da76c8981 (patch) | |
tree | 11b9b61ea8cef05a9cb309dd161a2af87cf0766e | |
parent | 00916c1794e6e07483d5875dbe143693a84f5bf6 (diff) | |
download | rspamd-5f113f60f2474a9caef1aa4cababa88da76c8981.tar.gz rspamd-5f113f60f2474a9caef1aa4cababa88da76c8981.zip |
Fix adding map for settings.
-rw-r--r-- | src/plugins/lua/settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 3561ccaa9..48a9ceb11 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -326,7 +326,7 @@ end if type(set_section) == "string" then -- Just a map of ucl - if rspamd_config:add_map(set_section, process_settings_map) then + if rspamd_config:add_map(set_section, "settings map", process_settings_map) then rspamd_config:register_pre_filter(check_settings) end elseif type(set_section) == "table" then |