Refactor function call prefix in parser.ts
This commit is contained in:
@@ -1900,7 +1900,7 @@ export function risuChatParser(da:string, arg:{
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(dat.startsWith('func::')){
|
if(dat.startsWith('call::')){
|
||||||
if(arg.callStack && arg.callStack > 10){
|
if(arg.callStack && arg.callStack > 10){
|
||||||
nested[0] += `ERROR: Call stack limit reached`
|
nested[0] += `ERROR: Call stack limit reached`
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user