Remove unused config parameter to pluginManager

Remove the unused library initialization parameter config to
pluginManager and reorganize pluginManager to no longer be defined by a
function.
This commit is contained in:
Hornwitser committed 2019-09-04 20:43:13 +02:00
1 parent 35546b4b18
commit a31778c7ff
4 files changed
+110 -102

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ module.exports = class remoteCommands {
this.messageInterface = messageInterface;
this.config = mergedConfig;
this.socket = extras.socket;
const pluginManager = require("lib/manager/pluginManager.js")(this.config);
const pluginManager = require("lib/manager/pluginManager.js");
const configManager = require("lib/manager/configManager.js");
// const modManager = require("lib/manager/modManager.js")(this.config);
this.socket.on("hello", () => {