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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index a928d7173..7adbe2bbd 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -35,6 +35,9 @@ class Hook():
self.log = core.log
self.config = core.config
+ self.interval = 60
+ self.lastCall = 0
+
self.setup()
def setup(self):
@@ -60,3 +63,6 @@ class Hook():
def afterReconnecting(self, ip):
pass
+
+ def periodical(self):
+ pass