diff options
Diffstat (limited to 'modules/github/__init__.py')
| -rw-r--r-- | modules/github/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index a143ff7c..ff85b8f8 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -340,7 +340,7 @@ class Module(ModuleManager.BaseModule): if found_hook: repo_hooked = True - server = self.bot.get_server(server_id) + server = self.bot.get_server_by_id(server_id) if server and channel_name in server.channels: if (branch and found_hook["branches"] and |
