summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-31 20:44:42 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-31 20:44:42 +0200
commitb06286d2d6693931e7956dba10c07073e69b5909 (patch)
treee195016b9b58b4c0c3e996ffb3a0cb234cafc217 /module/plugins/Hook.py
parentdaily commit (diff)
downloadpyload-b06286d2d6693931e7956dba10c07073e69b5909.tar.xz
some changes
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