'pusher' -> 'sender'

This commit is contained in:
jesopo 2018-11-17 21:05:08 +00:00
parent 0da685bb0a
commit c5293ef5bf

View file

@ -186,7 +186,7 @@ class Module(ModuleManager.BaseModule):
def create(self, event, full_name, data):
ref = data["ref"]
type = data["ref_type"]
sender = utils.irc.bold(data["pusher"]["name"])
sender = utils.irc.bold(data["sender"]["name"])
url = CREATE_EVENT % (full_name, ref)
return ["(%s) %s created a %s: %s - %s" %
(full_name, sender, type, ref, url)]