Update modules/botnet_protect.py

This commit is contained in:
Nova Cat 2025-01-11 01:01:08 -08:00
parent e1eadce0c2
commit 5465775042

View file

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