From 89bc48cf0c647c7f71dd17316a3a4180d13a8a45 Mon Sep 17 00:00:00 2001 From: dngfx <294904+dngfx@users.noreply.github.com> Date: Sat, 8 Sep 2018 19:32:10 +0100 Subject: [PATCH] Correct comparison --- modules/ducks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ducks.py b/modules/ducks.py index 37f950dc..30248781 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -137,8 +137,8 @@ class Module(object): # DUCK_MINIMUM_MESSAGES = 10 # DUCK_MINIMUM_UNIQUE = 3 - if spawned == 0 and next_duck < time() and unique > \ - DUCK_MINIMUM_UNIQUE and messages > DUCK_MINIMUM_MESSAGES: + if spawned == 0 and next_duck < time() and unique >= \ + DUCK_MINIMUM_UNIQUE and messages >= DUCK_MINIMUM_MESSAGES: return True else: return False