diff options
| author | 2019-10-07 12:46:52 +0100 | |
|---|---|---|
| committer | 2019-10-07 12:46:52 +0100 | |
| commit | 50d1eb6b8c8d4333fc50695521054443bc191cc0 (patch) | |
| tree | ab6bd9479231feaa02d24924d42223c78b0876f5 /modules/vote.py | |
| parent | parse out content_type in Response ctor (diff) | |
| signature | ||
combine find_setting() and find_setting_prefix() on user/channel/server/bot
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 060c849a..27216392 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_settings_prefix("vote-"): + for setting, vote in channel.find_setting(prefix="vote-"): if vote["open"]: open.append(vote) return open |
