mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-23 03:02:48 +01:00
Send snomask on client quits
This commit is contained in:
parent
fb1f6dab2b
commit
3ee26041ff
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user