diff options
| author | 2019-10-10 15:27:49 +0100 | |
|---|---|---|
| committer | 2019-10-10 15:27:49 +0100 | |
| commit | fe1c2c0205bfaf9b3bf57c461bf6e2e91f3094d7 (patch) | |
| tree | 29f297e0207ccf25d4c6b6e44baf473590ca8b45 /modules/vote.py | |
| parent | only .call() PollHooks when they're "due" (diff) | |
| signature | ||
'channel.find_setting()' -> 'channel.find_settings()'
Diffstat (limited to 'modules/vote.py')
| -rw-r--r-- | modules/vote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vote.py b/modules/vote.py index 27216392..2f2ea1a3 100644 --- a/modules/vote.py +++ b/modules/vote.py @@ -64,7 +64,7 @@ class Module(ModuleManager.BaseModule): def _open_votes(self, channel): open = [] - for setting, vote in channel.find_setting(prefix="vote-"): + for setting, vote in channel.find_settings(prefix="vote-"): if vote["open"]: open.append(vote) return open |
