From 8c9972722e5c3934ae033c82de2fb6a2869f9988 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 1 Apr 2016 20:48:09 +0200 Subject: [PATCH] [Minor] Fix iterator --- src/plugins/lua/whitelist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5