]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix settings id setup
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Apr 2016 22:31:16 +0000 (23:31 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Apr 2016 22:31:16 +0000 (23:31 +0100)
src/plugins/lua/settings.lua

index 5b27d4b667e7b765fd03f7c4fc75f3c9d69ab110..7f388bac055a717d933965e1fc53ab8a7f6e4921 100644 (file)
@@ -411,7 +411,7 @@ local function process_settings_table(tbl)
     if elt['symbols'] then out['symbols'] = elt['symbols'] end
     if elt['id'] then
       out['id'] = elt['id']
-      settings[elt['id']] = out
+      settings_ids[elt['id']] = out
     end
 
     if elt['apply'] then