From: Andrew Lewis Date: Tue, 22 Nov 2016 08:50:16 +0000 (+0200) Subject: [Fix] Fix Fuzzyconvert tool when password or DB is given X-Git-Tag: 1.4.1~114^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9ec6f6e435e7fc74d284242868abff65b1a785a;p=rspamd.git [Fix] Fix Fuzzyconvert tool when password or DB is given Reported-By: @dehnli --- 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