user varaible doesn't exist in invite formatting code

closes #231
This commit is contained in:
jesopo 2020-01-20 14:12:49 +00:00
parent 6b0bb512ef
commit 119066b549

View file

@ -170,7 +170,7 @@ class Module(ModuleManager.BaseModule):
line = "- %s" % minimal line = "- %s" % minimal
self._event("invite", event["server"], line, event["target_channel"], 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") @utils.hook("received.mode.channel")
def mode(self, event): def mode(self, event):