aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-17 22:34:51 +0000
committerGravatar jesopo2018-11-17 22:34:51 +0000
commit369af13e4b398814b2c2b13e923c08b1aef8da66 (patch)
treec3d0c9b57343dd2aba83bf679057767a7bf0686e /modules
parentI forgot that I'd changed how servers keep their list of channels (diff)
signature
... this one too.
Diffstat (limited to 'modules')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 9925bc6a..15671d6e 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -49,7 +49,7 @@ class Module(ModuleManager.BaseModule):
if full_name in hooked_repos:
server = self.bot.get_server(server_id)
if server and channel_name in server.channels:
- channel = server.get_channel(channel_name)
+ channel = server.channels.get(channel_name)
github_events = channel.get_setting("github-events",
DEFAULT_EVENTS)
if github_event in github_events: