diff options
Diffstat (limited to 'module/HookManager.py')
-rw-r--r-- | module/HookManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/HookManager.py b/module/HookManager.py index 25f84831e..1ecaae1ac 100644 --- a/module/HookManager.py +++ b/module/HookManager.py @@ -124,7 +124,7 @@ class HookManager: #hookClass = getattr(plugin, plugin.__name__) if self.core.config.getPlugin(pluginname, "activated"): - pluginClass = self.core.pluginManager.getHookPlugin(pluginname) + pluginClass = self.core.pluginManager.loadClass("hooks", pluginname) if not pluginClass: continue plugin = pluginClass(self.core, self) @@ -159,7 +159,7 @@ class HookManager: if inst.__name__ == plugin: return - pluginClass = self.core.pluginManager.getHookPlugin(plugin) + pluginClass = self.core.pluginManager.loadClass("hooks", plugin) if not pluginClass: return |