]> 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:39:14 +0000 (15:39 +0200)
src/plugins/lua/rbl.lua

index 62d1a8bd9ca94b9bc826c4903e454f4304319060..c2ec6ae3d498595255c05cd49445380ed7faed10 100644 (file)
@@ -418,6 +418,5 @@ 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, id)
   end
 end