Remove redundant parameter from attachPluginMessages

Remove the pluginInfo parameter from lib/plugin attachPluginMessages as
the plugin info object is available in the `.info` property of the
plugin.  While a plugin instance doesn't exist for the slave side and
was the reason for these to be separate arguments, I expect slave
plugins to be implemented eventually.
This commit is contained in:
Hornwitser committed 2021-02-17 21:21:18 +01:00
1 parent b7c7e79a86
commit f8153bd784
5 files changed
+17 -18

No files matched your search

+1 -1
View File
@@ -621,7 +621,7 @@ class Control extends libLink.Link {
*/
this.plugins = controlPlugins;
for (let controlPlugin of controlPlugins.values()) {
libPlugin.attachPluginMessages(this, controlPlugin.info, controlPlugin);
libPlugin.attachPluginMessages(this, controlPlugin);
}
/**