summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Hook.py')
-rw-r--r--module/plugins/internal/Hook.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py
index fbd6934ce..3d8fb0dde 100644
--- a/module/plugins/internal/Hook.py
+++ b/module/plugins/internal/Hook.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Addon import Addon
class Hook(Addon):
__name__ = "Hook"
__type__ = "hook"
- __version__ = "0.10"
+ __version__ = "0.11"
__status__ = "testing"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -21,3 +21,8 @@ class Hook(Addon):
def __init__(self, core, manager):
super(Hook, self).__init__(core, manager)
self.init_periodical(10)
+
+
+ #@TODO: Remove in 0.4.10
+ def _log(self, level, plugintype, pluginname, messages):
+ return super(self.__name__, self)._log(level, plugintype, pluginname.replace("Hook", ""), messages)