]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix iterator
authorAndrew Lewis <nerf@judo.za.org>
Fri, 1 Apr 2016 18:48:09 +0000 (20:48 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 1 Apr 2016 18:48:09 +0000 (20:48 +0200)
src/plugins/lua/whitelist.lua

index 31fd6251b410c1ba6b0231d41bcf2d0d87d72d8c..202d854657db94cd7b752d22190bb9870bbca86b 100644 (file)
@@ -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)