diff options
Diffstat (limited to 'damnspam.py')
-rw-r--r-- | damnspam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/damnspam.py b/damnspam.py index 576f00e..99ff0f6 100644 --- a/damnspam.py +++ b/damnspam.py @@ -125,7 +125,7 @@ def onInteract(event): data = inputs.get(pos_str) if data: checktime = data["timeout_on"] if powered else data["timeout_off"] - if data["last_time"] + checktime < now(): + if data["last_time"] + checktime > now(): event.setCancelled(True) plugHeader(sender, "DamnSpam") msg(sender, "&cThis %s has a timeout of %ss." % (btype, checktime)) |