diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/webhooks/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/webhooks/__init__.py b/modules/webhooks/__init__.py index a0b1429a..8538cecb 100644 --- a/modules/webhooks/__init__.py +++ b/modules/webhooks/__init__.py @@ -35,8 +35,7 @@ class Module(ModuleManager.BaseModule): branch = handler.branch(data, headers) current_event, event_action = handler.event(data, headers) - hooks = self.bot.database.channel_settings.find_by_setting( - "%s-hooks" % webhook_type) + hooks = self.bot.database.channel_settings.find_by_setting("webhooks") targets = [] repo_hooked = False |
