aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-28 12:34:18 +0000
committerGravatar jesopo2018-10-28 12:34:18 +0000
commit27bfe2e23dd96f51ef75e0b7346a912e7bd712e5 (patch)
tree8e8ad20a1cac2c4e483ced81c6790a903c49d49d
parent'channel' -> 'target' in modules/badwords.py (diff)
signature
Yet another typo in modules/badwords.py, 'get_getting' -> 'get_setting'
-rw-r--r--modules/badwords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/badwords.py b/modules/badwords.py
index 49e3e8f8..db7d3110 100644
--- a/modules/badwords.py
+++ b/modules/badwords.py
@@ -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,