aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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