execute function toString bugfix
This commit is contained in:
parent
a64914b744
commit
6625782d7b
@ -54,5 +54,5 @@ function cmd_exec(input) {
|
||||
if (chars.length > 0)
|
||||
return "Invalid input!";
|
||||
// Execute input and return output
|
||||
return (new Function(`return ${str}`))();
|
||||
return (new Function(`return ${str}`))().toString();
|
||||
}
|
Loading…
Reference in New Issue
Block a user