Skip to content

Commit

Permalink
user varaible doesn't exist in invite formatting code
Browse files Browse the repository at this point in the history
closes #231
  • Loading branch information
jesopo committed Jan 20, 2020
1 parent 6b0bb51 commit 119066b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_modules/format_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def invite(self, event):
line = "- %s" % minimal

self._event("invite", event["server"], line, event["target_channel"],
user=user, minimal=minimal, formatting=formatting)
user=event["user"], minimal=minimal, formatting=formatting)

@utils.hook("received.mode.channel")
def mode(self, event):
Expand Down

0 comments on commit 119066b

Please sign in to comment.