Update modules/botnet_protect.py
Some checks failed
/ check (push) Failing after 13s

This commit is contained in:
Nova Cat 2025-01-26 20:31:02 -08:00
parent 48827c622c
commit 70acb4f6a6

View file

@ -31,7 +31,6 @@ class IRCatModule:
if "JOIN" in value:
target = value.split(" ")[1]
self.memory[ip] = 1 # 1: Just joined the channel, continue observing.
print("Autoban> Somebody joined " + target)
if target.lower() == "#ircatsucks":
self.ban(ip) # Ruh roh
elif "PRIVMSG" in value