diff options
Diffstat (limited to 'lualib/rspamadm/statistics_dump.lua')
-rw-r--r-- | lualib/rspamadm/statistics_dump.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/rspamadm/statistics_dump.lua b/lualib/rspamadm/statistics_dump.lua index 5caa63666..bbd4e2410 100644 --- a/lualib/rspamadm/statistics_dump.lua +++ b/lualib/rspamadm/statistics_dump.lua @@ -340,9 +340,9 @@ local function obj_to_redis_arguments(obj, opts, cmd_pipe) end end else - -- Numeric table of elements (e.g. _keys) + -- Numeric table of elements (e.g. _keys) - it is actually a set in Redis for _,elt in ipairs(value) do - table.insert(cmd_pipe, {'LPUSHX', {key, elt}}) + table.insert(cmd_pipe, {'SADD', {key, elt}}) end end end |