From: Andrew Lewis Date: Mon, 29 Jun 2015 13:39:14 +0000 (+0200) Subject: Remove duplicated symbol registration X-Git-Tag: 1.0.0~484^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de3d54a7b5b1942a399ce76430a820d7408db01f;p=thirdparty%2Frspamd.git Remove duplicated symbol registration --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 62d1a8bd9c..c2ec6ae3d4 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -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