Update modules/botnet_protect.py

This commit is contained in:
Nova Cat 2025-01-11 00:43:26 -08:00
parent 712e82d1b0
commit 42af8fa12c

View file

@ -25,7 +25,7 @@ class IRCatModule:
if "JOIN" in value: if "JOIN" in value:
target = value.split(" ")[1] target = value.split(" ")[1]
self.memory[cachedNick + "|" + ip][target] = 1 # 1: Just joined the channel, continue observing. self.memory[cachedNick + "|" + ip][target] = 1 # 1: Just joined the channel, continue observing.
if target = "#IRCATSUCKS": if target == "#IRCATSUCKS":
self.ban(ip) self.ban(ip)
elif "PRIVMSG" in value: elif "PRIVMSG" in value:
target = value.split(" ")[1] target = value.split(" ")[1]