Update modules/botnet_protect.py
This commit is contained in:
parent
712e82d1b0
commit
42af8fa12c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class IRCatModule:
|
||||||
if "JOIN" in value:
|
if "JOIN" in value:
|
||||||
target = value.split(" ")[1]
|
target = value.split(" ")[1]
|
||||||
self.memory[cachedNick + "|" + ip][target] = 1 # 1: Just joined the channel, continue observing.
|
self.memory[cachedNick + "|" + ip][target] = 1 # 1: Just joined the channel, continue observing.
|
||||||
if target = "#IRCATSUCKS":
|
if target == "#IRCATSUCKS":
|
||||||
self.ban(ip)
|
self.ban(ip)
|
||||||
elif "PRIVMSG" in value:
|
elif "PRIVMSG" in value:
|
||||||
target = value.split(" ")[1]
|
target = value.split(" ")[1]
|
||||||
|
|
Loading…
Add table
Reference in a new issue