diff --git a/src/core_modules/format_activity.py b/src/core_modules/format_activity.py index d3283de7..02fe8341 100644 --- a/src/core_modules/format_activity.py +++ b/src/core_modules/format_activity.py @@ -170,7 +170,7 @@ class Module(ModuleManager.BaseModule): 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):