This commit is contained in:
parent
70acb4f6a6
commit
5f8f6512fe
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class IRCatModule:
|
||||||
self.memory[ip] = 1 # 1: Just joined the channel, continue observing.
|
self.memory[ip] = 1 # 1: Just joined the channel, continue observing.
|
||||||
if target.lower() == "#ircatsucks":
|
if target.lower() == "#ircatsucks":
|
||||||
self.ban(ip) # Ruh roh
|
self.ban(ip) # Ruh roh
|
||||||
elif "PRIVMSG" in value
|
elif "PRIVMSG" in value:
|
||||||
if not (ip in self.memory and self.memory[ip] == 0): # Continue observing
|
if not (ip in self.memory and self.memory[ip] == 0): # Continue observing
|
||||||
target = value.split(" ")[1]
|
target = value.split(" ")[1]
|
||||||
content = " ".join(value.split(" ")[2:])[1:]
|
content = " ".join(value.split(" ")[2:])[1:]
|
||||||
|
|
Loading…
Add table
Reference in a new issue