From af3e55e5183cb8b4c9892fe9ef21b87be2229e17 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 22 Aug 2025 00:10:46 +0200 Subject: [PATCH] Fix some retarded bullshit --- processor/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/processor.go b/processor/processor.go index f90879b..eefaa63 100644 --- a/processor/processor.go +++ b/processor/processor.go @@ -508,7 +508,7 @@ func EvalRegex(L *lua.LState) int { matchesTable := L.NewTable() for i, match := range matches { - matchesTable.RawSetString(fmt.Sprintf("%d", i), lua.LString(match)) + matchesTable.RawSetInt(i, lua.LString(match)) evalRegexLogger.Debug("Set table[%d] = %q", i, match) }