Send IRCUser object on formatted.quit event
This commit is contained in:
parent
c8f5f0b0ad
commit
cbd6092ff1
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if reason:
|
||||
reason = " (%s)" % reason
|
||||
line = "- %s quit%s" % (user.nickname, reason)
|
||||
self._event("quit", event["server"], line, None)
|
||||
self._event("quit", event["server"], line, None, user=user)
|
||||
@utils.hook("received.quit")
|
||||
def on_quit(self, event):
|
||||
self._quit(event, event["user"], event["reason"])
|
||||
|
|
Loading…
Reference in a new issue