aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-20 14:12:49 +0000
committerGravatar jesopo2020-01-20 14:17:50 +0000
commit119066b549562bf405cbf249ade09384ce613a6d (patch)
tree68946912a7dbb8b66728bd14eacea0ce12e4da65
parentcolourise server name for server notice formatting (diff)
signature
`user` varaible doesn't exist in invite formatting code
closes #231
-rw-r--r--src/core_modules/format_activity.py2
1 files changed, 1 insertions, 1 deletions
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):