Update modules/botnet_protect.py
This commit is contained in:
parent
5465775042
commit
9d4de13e7c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue