diff options
| author | 2018-10-28 12:33:26 +0000 | |
|---|---|---|
| committer | 2018-10-28 12:33:26 +0000 | |
| commit | 09779ca570655c3303090fec82c17d67d89674be (patch) | |
| tree | 73586f6144002c8ae595fb1cee9bd39f057fcb53 /modules/badwords.py | |
| parent | Fix typo in modules/badwords.py, 'events' -> 'event' (diff) | |
| signature | ||
'channel' -> 'target' in modules/badwords.py
Diffstat (limited to 'modules/badwords.py')
| -rw-r--r-- | modules/badwords.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/badwords.py b/modules/badwords.py index dfddc332..49e3e8f8 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["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, |
