This commit is contained in:
= 2025-04-04 04:33:47 +00:00
parent dfdc811e24
commit c478220bc2

2
bot.py
View File

@ -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}...")