From 9d4de13e7c7e646e719b49dedb402e128e2b6f54 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 11 Jan 2025 01:03:07 -0800 Subject: [PATCH] Update modules/botnet_protect.py --- modules/botnet_protect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/botnet_protect.py b/modules/botnet_protect.py index 772f777..df0d507 100644 --- a/modules/botnet_protect.py +++ b/modules/botnet_protect.py @@ -15,6 +15,7 @@ class IRCatModule: self.useSQLengine = True self.SQLengine = sql def ban(self, ip): + del self.memory[ip] if self.useSQLengine: cur = self.SQLengine.conn.cursor() else: