Fix some retarded bullshit

This commit is contained in:
2025-08-22 00:10:46 +02:00
parent 13b48229ac
commit af3e55e518

View File

@@ -508,7 +508,7 @@ func EvalRegex(L *lua.LState) int {
matchesTable := L.NewTable() matchesTable := L.NewTable()
for i, match := range matches { 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) evalRegexLogger.Debug("Set table[%d] = %q", i, match)
} }