diff options
| author | 2018-09-08 19:32:10 +0100 | |
|---|---|---|
| committer | 2018-09-08 19:32:10 +0100 | |
| commit | 89bc48cf0c647c7f71dd17316a3a4180d13a8a45 (patch) | |
| tree | 6326bd4b3dad52cdad63e8287605c610f8b73393 /modules/ducks.py | |
| parent | Typo fix. (diff) | |
| signature | ||
Correct comparison
Diffstat (limited to 'modules/ducks.py')
| -rw-r--r-- | modules/ducks.py | 4 |
1 files 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 |
