diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-08-01 09:22:30 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-08-01 09:22:30 +0200 |
commit | c683c72248df4f59e446a27451e08fae68a672a1 (patch) | |
tree | ae53d18436cd0eb69464f1a0bf0ee3baccf2fd3c /src | |
parent | cef6e7833c6ec89363c982ccf86e1ec5921db1dc (diff) | |
download | rspamd-c683c72248df4f59e446a27451e08fae68a672a1.tar.gz rspamd-c683c72248df4f59e446a27451e08fae68a672a1.zip |
[Minor] Fann_redis: Fix iterator
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/fann_redis.lua | 2 |
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 |