fixed recoverycore eval

This commit is contained in:
Bryan Roe 2021-01-17 18:59:21 -08:00
parent 74ffd77eda
commit 564d789e35

View File

@ -916,7 +916,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
response = 'Proper usage: eval "JavaScript code"'; // Display correct command usage
} else
{
response = JSON.stringify(mesh.eval(args['_'][0])); // This can only be run by trusted administrator.
response = JSON.stringify(require('MeshAgent').eval(args['_'][0])); // This can only be run by trusted administrator.
}
break;
}