Send snomask on client quits

This commit is contained in:
Daniel Oaks 2017-06-11 09:42:37 -06:00
parent fb1f6dab2b
commit 3ee26041ff
1 changed files with 1 additions and 0 deletions

View File

@ -530,6 +530,7 @@ func (client *Client) destroy() {
//TODO(dan): store quit message in user, if exists use that instead here
friend.Send(nil, client.nickMaskString, "QUIT", "Exited")
}
client.server.snomasks.Send(sno.LocalQuits, fmt.Sprintf(ircfmt.Unescape("%s$r quit"), client.nick))
}
// SendSplitMsgFromClient sends an IRC PRIVMSG/NOTICE coming from a specific client.