summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-11 21:04:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-11 21:04:48 +0200
commitecadad99f03e33d4672e9ac2d5d1dca0d541b983 (patch)
tree65ac2f5a94cc50d8ef8044b6cb1616937105d2b9 /module/plugins/Plugin.py
parentfixes (diff)
downloadpyload-ecadad99f03e33d4672e9ac2d5d1dca0d541b983.tar.xz
jeixs irc interface, cleaned some code
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index aa4aff171..610e27173 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -146,8 +146,10 @@ class Plugin(object):
return self.config.getPlugin(self.__name__, option)
- def setWait(self, seconds):
+ def setWait(self, seconds, reconnect=False):
""" set the wait time to specified seconds """
+ if reconnect:
+ self.wantReconnect = True
self.pyfile.waitUntil = time() + int(seconds)
def wait(self):