mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 22:57:33 +03:00
Merge pull request #614 from ryanblenis/plugin
Expand Plugin Interactions.
This commit is contained in:
commit
0ca42e5095
@ -980,6 +980,9 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (parent.parent.pluginHandler != null) {
|
||||||
|
parent.parent.pluginHandler.callHook('hook_agentCoreIsStable', obj, parent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the web certificate private key hash for the specified domain
|
// Get the web certificate private key hash for the specified domain
|
||||||
@ -1298,6 +1301,9 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (parent.parent.pluginHandler != null) {
|
||||||
|
parent.parent.pluginHandler.callHook('hook_processAgentData', command, obj, parent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user