From: Andrew Lewis Date: Fri, 1 Apr 2016 18:48:09 +0000 (+0200) Subject: [Minor] Fix iterator X-Git-Tag: 1.2.3~82^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c9972722e5c3934ae033c82de2fb6a2869f9988;p=rspamd.git [Minor] Fix iterator --- diff --git a/src/plugins/lua/whitelist.lua b/src/plugins/lua/whitelist.lua index 31fd6251b..202d85465 100644 --- a/src/plugins/lua/whitelist.lua +++ b/src/plugins/lua/whitelist.lua @@ -95,7 +95,7 @@ local function whitelist_cb(symbol, rule, task) local dkim_opts = sym[1]['options'] if dkim_opts then - each(function(i, val) + each(function(val) if not found then local tld = rspamd_util.get_tld(val)