diff --git a/lua/zapret-antidpi.lua b/lua/zapret-antidpi.lua index 3aade59..c90b4a9 100644 --- a/lua/zapret-antidpi.lua +++ b/lua/zapret-antidpi.lua @@ -1087,6 +1087,9 @@ function oob(ctx, desync) end else local oob = desync.arg.char or (desync.arg.byte and bu8(desync.arg.byte) or nil) or "\x00" + if #oob>1 then + error("oob: OOB must be exactly one byte") + end local dis_oob = deepcopy(desync.dis) local urp if not desync.arg.urp or desync.arg.urp=='b' then