mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-18 13:54:47 -07:00
Send snomask on client quits
This commit is contained in:
@@ -530,6 +530,7 @@ func (client *Client) destroy() {
|
|||||||
//TODO(dan): store quit message in user, if exists use that instead here
|
//TODO(dan): store quit message in user, if exists use that instead here
|
||||||
friend.Send(nil, client.nickMaskString, "QUIT", "Exited")
|
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.
|
// SendSplitMsgFromClient sends an IRC PRIVMSG/NOTICE coming from a specific client.
|
||||||
|
|||||||
Reference in New Issue
Block a user