Refactor function call prefix in parser.ts

This commit is contained in:
kwaroran
2024-09-16 05:25:03 +09:00
parent d5371a6ea9
commit 94197f9246

View File

@@ -1900,7 +1900,7 @@ export function risuChatParser(da:string, arg:{
break
}
}
if(dat.startsWith('func::')){
if(dat.startsWith('call::')){
if(arg.callStack && arg.callStack > 10){
nested[0] += `ERROR: Call stack limit reached`
break