From c478220bc2a76320acb0243b2e1de78d6b47d842 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 04:33:47 +0000 Subject: [PATCH] dang --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 13cca9e..44dea05 100644 --- a/bot.py +++ b/bot.py @@ -164,7 +164,7 @@ class IRCBot(): channel_time = self.check_time(channel) now = time() count = self.counter(channel) - if now - channel_time > timeout and count > messages_within_timeout: + if now - channel_time > timeout and count < messages_within_timeout: self.config["counts"][channel] = 0 self.write_config() self.send("#bots", f"i hear activity in {channel}...")