aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-10 15:27:49 +0100
committerGravatar jesopo2019-10-10 15:27:49 +0100
commitfe1c2c0205bfaf9b3bf57c461bf6e2e91f3094d7 (patch)
tree29f297e0207ccf25d4c6b6e44baf473590ca8b45
parentonly .call() PollHooks when they're "due" (diff)
signature
'channel.find_setting()' -> 'channel.find_settings()'
-rw-r--r--modules/vote.py2
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