aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index 4e465986..4bfb875c 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -53,8 +53,8 @@ class Module(ModuleManager.BaseModule):
def _trigger_duck(self, channel):
channel.duck_lines = 0
- channel.duck_active = time.time()
delay = random.SystemRandom().randint(5, 20)
+ channel.duck_active = time.time()+delay
self.timers.add("duck", self._send_duck, delay, channel=channel)
def _send_duck(self, timer):