Yet another typo in modules/badwords.py, 'get_getting' -> 'get_setting'

This commit is contained in:
jesopo 2018-10-28 12:34:18 +00:00
parent 09779ca570
commit 27bfe2e23d

View file

@ -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,