'pattern' -> 'badword'
This commit is contained in:
parent
0ff934d5b9
commit
53f027bea1
1 changed files with 3 additions and 3 deletions
|
@ -63,12 +63,12 @@ class Module(ModuleManager.BaseModule):
|
||||||
if badword["pattern"] in message_lower:
|
if badword["pattern"] in message_lower:
|
||||||
kick = False
|
kick = False
|
||||||
ban = False
|
ban = False
|
||||||
if pattern["action"] == "kick":
|
if badword["action"] == "kick":
|
||||||
kick = True
|
kick = True
|
||||||
elif pattern["action"] == "kickban":
|
elif badword["action"] == "kickban":
|
||||||
ban = True
|
ban = True
|
||||||
kick = True
|
kick = True
|
||||||
elif pattern["action"] == "ban":
|
elif badword["action"] == "ban":
|
||||||
ban = True
|
ban = True
|
||||||
|
|
||||||
if ban:
|
if ban:
|
||||||
|
|
Loading…
Reference in a new issue