From 35818801172403fb6bd195e206024a383b60f2fc Mon Sep 17 00:00:00 2001 From: Noah Zalev Date: Wed, 7 Jul 2021 21:39:53 -0400 Subject: [PATCH] Remove superfluous arguments --- meshuser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshuser.js b/meshuser.js index bf8d5f65..efe88e93 100644 --- a/meshuser.js +++ b/meshuser.js @@ -1513,7 +1513,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use var cmdData = { result: '', command: command, cmdargs: cmdargs }; try { - consoleCommands[cmd](cmdData, command, cmdargs); + consoleCommands[cmd](cmdData); } catch (e) { if (consoleCommands[cmd] == null) cmdData.result = 'Unknown command \"' + cmd + '\", type \"help\" for list of available commands.';