From c89742a7e70a8e419583451b622853cc9604fb9d Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 3 May 2019 16:26:35 +0100 Subject: Reset duck_lines to 0 when a duck has spawned --- modules/ducks.py | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/ducks.py b/modules/ducks.py index 1d445984..c17cf5be 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -35,6 +35,7 @@ class Module(ModuleManager.BaseModule): show_duck = random.SystemRandom().randint(1, 10) == 1 if show_duck: + channel.duck_lines = 0 self._trigger_duck(channel) @utils.hook("received.join") -- cgit v1.3.1-10-gc9f91