Update modules/botnet_protect.py
This commit is contained in:
parent
f5788e4baf
commit
a2b4a17456
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class IRCatModule:
|
||||||
elif "PRIVMSG" in value:
|
elif "PRIVMSG" in value:
|
||||||
target = value.split(" ")[1]
|
target = value.split(" ")[1]
|
||||||
content = " ".join(value.split(" ")[2:])[1:]
|
content = " ".join(value.split(" ")[2:])[1:]
|
||||||
if content in self.sus_strings and ( and ):
|
if content in self.sus_strings:
|
||||||
if ip in self.memory:
|
if ip in self.memory:
|
||||||
if self.memory[ip] == 1:
|
if self.memory[ip] == 1:
|
||||||
self.ban(ip)
|
self.ban(ip)
|
||||||
|
|
Loading…
Add table
Reference in a new issue