Yet another typo in modules/badwords.py, 'get_getting' -> 'get_setting'
This commit is contained in:
parent
09779ca570
commit
27bfe2e23d
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["target"].get_getting("badwords", [])
|
||||
badwords = event["target"].get_setting("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