From e20742dd0420b101499a31e04e3a4960473e88ea Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 22 Oct 2023 22:39:01 +0200 Subject: [PATCH] lf_em_tearoff: oops accept absence of pwd --- client/luascripts/lf_em_tearoff.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/luascripts/lf_em_tearoff.lua b/client/luascripts/lf_em_tearoff.lua index ee8acfa70..c26979d9a 100644 --- a/client/luascripts/lf_em_tearoff.lua +++ b/client/luascripts/lf_em_tearoff.lua @@ -82,7 +82,7 @@ local function main(args) sd = sd or 2000 ed = ed or 2100 - if #password ~= 8 then + if password ~= '' and #password ~= 8 then return oops('password must be 4 hex bytes') end