'channel' -> 'target' in modules/badwords.py
This commit is contained in:
parent
60421382d4
commit
09779ca570
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Module(ModuleManager.BaseModule):
|
|||
:help: List the badwords in the current channel
|
||||
:require_mode: o
|
||||
"""
|
||||
badwords = event["channel"].get_getting("badwords", [])
|
||||
badwords = event["target"].get_getting("badwords", [])
|
||||
badwords = ("(%d) %s" % (i, badword["pattern"]) for badword in
|
||||
enumerate(badwords))
|
||||
event["stdout"].write("%s: %s" % (event["target"].name,
|
||||
|
|
Loading…
Reference in a new issue