From 5465775042063592ddf5f785439e4d6baf3d3b4c Mon Sep 17 00:00:00 2001
From: swee <meow@swee.codes>
Date: Sat, 11 Jan 2025 01:01:08 -0800
Subject: [PATCH] Update modules/botnet_protect.py

---
 modules/botnet_protect.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/botnet_protect.py b/modules/botnet_protect.py
index c2fbebb..772f777 100644
--- a/modules/botnet_protect.py
+++ b/modules/botnet_protect.py
@@ -27,7 +27,8 @@ class IRCatModule:
                 if "JOIN" in value:
                     target = value.split(" ")[1]
                     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)
                 elif "PRIVMSG" in value:
                     target = value.split(" ")[1]