aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/github/module.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/github/module.py b/modules/github/module.py
index 6e413617..b9269b1a 100644
--- a/modules/github/module.py
+++ b/modules/github/module.py
@@ -261,8 +261,7 @@ class Module(ModuleManager.BaseModule):
targets = []
repo_hooked = False
- for i, (server_id, channel_name, hooked_repos) in list(
- enumerate(hooks))[::-1]:
+ for server_id, channel_name, hooked_repos) in hooks:
found_hook = None
if repo_username and repo_username in hooked_repos:
found_hook = hooked_repos[repo_username]