Skip to content

Commit 119066b

Browse files
committed
user varaible doesn't exist in invite formatting code
closes #231
1 parent 6b0bb51 commit 119066b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core_modules/format_activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def invite(self, event):
170170
line = "- %s" % minimal
171171

172172
self._event("invite", event["server"], line, event["target_channel"],
173-
user=user, minimal=minimal, formatting=formatting)
173+
user=event["user"], minimal=minimal, formatting=formatting)
174174

175175
@utils.hook("received.mode.channel")
176176
def mode(self, event):

0 commit comments

Comments
 (0)