mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Merge fix.
This commit is contained in:
parent
27ceb05e07
commit
e9e44101f8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue