]> source.dussan.org Git - rspamd.git/commitdiff
else if was meant to be elseif
authorlaodc <github@laodc.com>
Mon, 21 Aug 2023 09:35:43 +0000 (16:35 +0700)
committerlaodc <github@laodc.com>
Mon, 21 Aug 2023 09:35:43 +0000 (16:35 +0700)
lualib/rspamadm/fuzzy_convert.lua

index 67a2664bcea359d292c22c9419dc76b0d5db5e5f..cf98d74a29ada87ae0858ebdde6bdbe492d39a2a 100644 (file)
@@ -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'