aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-22 10:50:16 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-22 10:56:13 +0200
commitd9ec6f6e435e7fc74d284242868abff65b1a785a (patch)
tree806166f17cb766164ba0206af770e4afa416f438 /src/rspamadm
parent5b6955aff2fbff512108a8c76a0625bea4f7409a (diff)
downloadrspamd-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.lua7
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