1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Meshcore revert.

This commit is contained in:
Ylian Saint-Hilaire 2019-10-28 09:21:12 -07:00
parent ee8345e211
commit a99c985ee4
3 changed files with 77 additions and 25 deletions

View file

@ -1275,7 +1275,7 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
break;
}
case 'plugin': {
if (typeof command.plugin != 'string') break;
if ((parent.parent.pluginHandler == null) || (typeof command.plugin != 'string')) break;
try {
var pluginHandler = require('./pluginHandler.js').pluginHandler(parent.parent);
if (command.plugin == '__all') {