Typo in modules/github.py, 'for output in output' -> 'for output in outputs'

This commit is contained in:
jesopo 2018-11-06 14:02:03 +00:00
parent c3c6080117
commit be3ee373dd

View file

@ -45,7 +45,7 @@ class Module(ModuleManager.BaseModule):
if outputs: if outputs:
for server_id, channel_name, _ in hooks: for server_id, channel_name, _ in hooks:
for output in output: for output in outputs:
server = self.bot.get_server(server_id) server = self.bot.get_server(server_id)
channel = server.get_channel(channel_name) channel = server.get_channel(channel_name)
trigger = self._make_trigger(channel, server, output) trigger = self._make_trigger(channel, server, output)