From 42af8fa12c9341b1a01c9e40b14441caf7a0916a Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 11 Jan 2025 00:43:26 -0800 Subject: [PATCH] Update modules/botnet_protect.py --- modules/botnet_protect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/botnet_protect.py b/modules/botnet_protect.py index 67527ec..77b521a 100644 --- a/modules/botnet_protect.py +++ b/modules/botnet_protect.py @@ -25,7 +25,7 @@ class IRCatModule: if "JOIN" in value: target = value.split(" ")[1] self.memory[cachedNick + "|" + ip][target] = 1 # 1: Just joined the channel, continue observing. - if target = "#IRCATSUCKS": + if target == "#IRCATSUCKS": self.ban(ip) elif "PRIVMSG" in value: target = value.split(" ")[1]