diff options
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/github.py b/modules/github.py index 9f616b4d..4368d476 100644 --- a/modules/github.py +++ b/modules/github.py @@ -81,11 +81,9 @@ class Module(ModuleManager.BaseModule): outputs = self.release(event, full_name, data) if outputs: - for server_id, channel_name, _ in hooks: + for server, channel in targets: for output in outputs: output = "(%s) %s" % (full_name, output) - server = self.bot.get_server(server_id) - channel = server.channels.get(channel_name) trigger = self._make_trigger(channel, server, output) self.bot.trigger(trigger) |
