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: