]> source.dussan.org Git - rspamd.git/commitdiff
Fix adding map for settings.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Aug 2014 13:54:08 +0000 (14:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Aug 2014 13:54:08 +0000 (14:54 +0100)
src/plugins/lua/settings.lua

index 3561ccaa99ba3864e4a4cf41920c583aca115b3f..48a9ceb11414024e728328104362df9424346bfd 100644 (file)
@@ -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