aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-08-01 09:22:30 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-08-01 09:22:30 +0200
commitc683c72248df4f59e446a27451e08fae68a672a1 (patch)
treeae53d18436cd0eb69464f1a0bf0ee3baccf2fd3c /src
parentcef6e7833c6ec89363c982ccf86e1ec5921db1dc (diff)
downloadrspamd-c683c72248df4f59e446a27451e08fae68a672a1.tar.gz
rspamd-c683c72248df4f59e446a27451e08fae68a672a1.zip
[Minor] Fann_redis: Fix iterator
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/fann_redis.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua
index 6a7a73cdd..531a740d9 100644
--- a/src/plugins/lua/fann_redis.lua
+++ b/src/plugins/lua/fann_redis.lua
@@ -933,7 +933,7 @@ else
rules[k]['redis'] = redis_params
local cur = rules[k]
-- Override defaults
- for sk,v in r do
+ for sk,v in pairs(r) do
cur[sk] = v
end
if not cur.prefix then