aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-03-26 17:13:13 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-03-26 17:13:13 +0200
commitd4df6a2acccc81b09046300d3958a1e5a4cf2a9b (patch)
treeffb41e7b404ed8edc76fcddc2e219ad45bd9022b /src/plugins
parent3307ad5d3a6d7aab44ec949796a2b4d2042539a0 (diff)
downloadrspamd-d4df6a2acccc81b09046300d3958a1e5a4cf2a9b.tar.gz
rspamd-d4df6a2acccc81b09046300d3958a1e5a4cf2a9b.zip
[Minor] RBL: deal with missing DKIM config
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 11479df9e..edc55c998 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -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