Skip to content

Commit

Permalink
lf_em_tearoff: better safe than sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Oct 22, 2023
1 parent baecf19 commit 675c86e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/luascripts/lf_em_tearoff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ local function main(args)
ed = ed or 2100

if #password ~= 8 then
password = ''
return oops('password must be 4 hex bytes')
end

if #wr_value ~= 8 then
wr_value = 'FFFFFFFF'
return oops('write value must be 4 hex bytes')
end

if #rd_value ~= 8 then
rd_value = 'FFFFFFFF'
return oops('read value must be 4 hex bytes')
end

if sd > ed then
Expand Down

0 comments on commit 675c86e

Please sign in to comment.