From d9ec6f6e435e7fc74d284242868abff65b1a785a Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 22 Nov 2016 10:50:16 +0200 Subject: [PATCH] [Fix] Fix Fuzzyconvert tool when password or DB is given Reported-By: @dehnli --- src/rspamadm/fuzzy_convert.lua | 7 ------- 1 file changed, 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 -- 2.39.5