fixed recoverycore eval

Bryan Roe committed Jan 17, 2021 at 18:59 UTC 564d789e35dfcf28aa76d2f1f1cbf4ba84a6c4fd
1 file changed +1 -1
agents/recoverycore.js
+1 -1
@@ -916,7 +916,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
916 response = 'Proper usage: eval "JavaScript code"'; // Display correct command usage
917 } else
918 {
919 - response = JSON.stringify(mesh.eval(args['_'][0])); // This can only be run by trusted administrator.
919 + response = JSON.stringify(require('MeshAgent').eval(args['_'][0])); // This can only be run by trusted administrator.
920 }
921 break;
922 }