From bccca54916aad5b94eed9b619b6af23b36a6aeda Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 17 Sep 2023 17:36:54 -0400 Subject: Bugfix. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index 4f44401..7a4075d 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -2186,7 +2186,7 @@ not commonly used publically. offset = e + 1 end s,e = ARGS["table"]:find("%s*,%s*", offset) - if not e then s,e = #ARGS["table"],#ARGS["table"] end + if not e then s,e = #ARGS["table"]+1, #ARGS["table"] end if offset >= e then break end TABLE[i] = ARGS["table"]:sub(offset, s - 1) offset = e + 1 -- cgit v1.2.3