diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-22 10:50:16 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-22 10:56:13 +0200 |
commit | d9ec6f6e435e7fc74d284242868abff65b1a785a (patch) | |
tree | 806166f17cb766164ba0206af770e4afa416f438 /src/rspamadm | |
parent | 5b6955aff2fbff512108a8c76a0625bea4f7409a (diff) | |
download | rspamd-d9ec6f6e435e7fc74d284242868abff65b1a785a.tar.gz rspamd-d9ec6f6e435e7fc74d284242868abff65b1a785a.zip |
[Fix] Fix Fuzzyconvert tool when password or DB is given
Reported-By: @dehnli
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/fuzzy_convert.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rspamadm/fuzzy_convert.lua b/src/rspamadm/fuzzy_convert.lua index fb957907a..2d473ca46 100644 --- a/src/rspamadm/fuzzy_convert.lua +++ b/src/rspamadm/fuzzy_convert.lua @@ -25,13 +25,6 @@ local function connect_redis(server, password, db) end end - if password or db then - ret, err = conn:exec() - if not ret then - return nil, 'Cannot execute queued commands: ' .. err - end - end - return conn, nil end |