commit 3c2ffa8: else if was meant to be elseif

laodc github at laodc.com
Mon Aug 21 15:21:06 UTC 2023


Author: laodc
Date: 2023-08-21 16:35:43 +0700
URL: https://github.com/rspamd/rspamd/commit/3c2ffa8540f8ebfb1b5c24ae34a5e60c79e67675

else if was meant to be elseif

---
 lualib/rspamadm/fuzzy_convert.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/rspamadm/fuzzy_convert.lua b/lualib/rspamadm/fuzzy_convert.lua
index 67a2664bc..cf98d74a2 100644
--- a/lualib/rspamadm/fuzzy_convert.lua
+++ b/lualib/rspamadm/fuzzy_convert.lua
@@ -21,7 +21,7 @@ local function connect_redis(server, password, db)
     else
       return nil, 'Redis requires a password when username is supplied'
     end
-  else if password then
+  elseif password then
     ret = conn:add_cmd('AUTH', { password })
     if not ret then
       return nil, 'Cannot queue command'


More information about the Commits mailing list