mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-15 00:19:29 +01:00
parent
2bfa13b7d0
commit
fa3de3e149
@ -2360,7 +2360,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
||||
|
||||
// the originating session may get an echo message:
|
||||
rb.addEchoMessage(tags, nickMaskString, accountName, command, tnick, message)
|
||||
if histType != history.Notice {
|
||||
if histType == history.Privmsg {
|
||||
//TODO(dan): possibly implement cooldown of away notifications to users
|
||||
if away, awayMessage := user.Away(); away {
|
||||
rb.Add(nil, server.name, RPL_AWAY, client.Nick(), tnick, awayMessage)
|
||||
|
Loading…
Reference in New Issue
Block a user