mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-24 13:13:13 -05:00
Merge fix.
This commit is contained in:
parent
27ceb05e07
commit
e9e44101f8
@ -1512,7 +1512,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
||||
cmdargs = parseArgs(cmdargs);
|
||||
|
||||
// Find the command in the lookup table and run it.
|
||||
var cmdData = serverUserCommand[cmd], r = '';;
|
||||
var cmdData = serverUserCommands[cmd], r = '';;
|
||||
if (cmdData != null) {
|
||||
try { r = cmdData[0](cmdargs); } catch (ex) { r = '' + ex; }
|
||||
} else { r = 'Unknown command \"' + cmd + '\", type \"help\" for list of available commands.'; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user