summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 41264e559..749dc7ff6 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -50,11 +50,11 @@ class Hook():
def getConfig(self, option):
""" gets config values """
- return self.plugin.getPlugin(self.__name__, option)
+ return self.config.getPlugin(self.__name__, option)
def setConfig(self, option, value):
""" sets config value """
- self.plugin.setPlugin(self.__name__, option, value)
+ self.config.setPlugin(self.__name__, option, value)
def coreReady(self):
pass