]> source.dussan.org Git - rspamd.git/commitdiff
Remove duplicated symbol registration
authorAndrew Lewis <nerf@judo.za.org>
Mon, 29 Jun 2015 13:39:14 +0000 (15:39 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 29 Jun 2015 13:43:16 +0000 (15:43 +0200)
Conflicts:
src/plugins/lua/rbl.lua

src/plugins/lua/rbl.lua

index 544619a0b563034e9689e2385caf27907630828b..b93a30454f61cbd580324c41238b32e91fb2d2e3 100644 (file)
@@ -416,7 +416,6 @@ for _, w in pairs(white_symbols) do
     csymbol = 'RBL_COMPOSITE_' .. w .. '_' .. b
     rspamd_config:set_metric_symbol(csymbol, 0, 'Autogenerated composite')
     rspamd_config:add_composite(csymbol, w .. ' & ' .. b)
-    rspamd_config:register_virtual_symbol(csymbol, 1)
   end
 end
 rspamd_config:register_callback_symbol_priority('RBL', 1.0, 0, rbl_cb)