]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] RBL: deal with missing DKIM config
authorAndrew Lewis <nerf@judo.za.org>
Sun, 26 Mar 2017 15:13:13 +0000 (17:13 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Sun, 26 Mar 2017 15:13:13 +0000 (17:13 +0200)
src/plugins/lua/rbl.lua

index 11479df9ef199808fa4ddac117a8b36f4687bcde..edc55c9982d1342e9df182c370c62280bb5fb663 100644 (file)
@@ -35,7 +35,7 @@ local symbols = {
 }
 
 local dkim_config = rspamd_config:get_all_opt("dkim")
-if dkim_config['symbol_allow'] then
+if (dkim_config or E).symbol_allow then
   symbols['dkim_allow_symbol'] = dkim_config['symbol_allow']
 end