|
@@ -2360,7 +2360,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
2360
|
2360
|
|
2361
|
2361
|
// the originating session may get an echo message:
|
2362
|
2362
|
rb.addEchoMessage(tags, nickMaskString, accountName, command, tnick, message)
|
2363
|
|
- if histType != history.Notice {
|
|
2363
|
+ if histType == history.Privmsg {
|
2364
|
2364
|
//TODO(dan): possibly implement cooldown of away notifications to users
|
2365
|
2365
|
if away, awayMessage := user.Away(); away {
|
2366
|
2366
|
rb.Add(nil, server.name, RPL_AWAY, client.Nick(), tnick, awayMessage)
|