|
@@ -2042,7 +2042,8 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
2042
|
2042
|
_, isZNC := zncHandlers[lowercaseTarget]
|
2043
|
2043
|
|
2044
|
2044
|
if isService || isZNC {
|
2045
|
|
- rb.addEchoMessage(client.Details(), command, message, tags, target)
|
|
2045
|
+ details := client.Details()
|
|
2046
|
+ rb.addEchoMessage(tags, details.nickMask, details.accountName, command, target, message)
|
2046
|
2047
|
if histType != history.Privmsg {
|
2047
|
2048
|
return // NOTICE and TAGMSG to services are ignored
|
2048
|
2049
|
}
|
|
@@ -2108,7 +2109,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
|
2108
|
2109
|
}
|
2109
|
2110
|
|
2110
|
2111
|
// the originating session may get an echo message:
|
2111
|
|
- rb.addEchoMessage(details, command, message, tags, tnick)
|
|
2112
|
+ rb.addEchoMessage(tags, nickMaskString, accountName, command, tnick, message)
|
2112
|
2113
|
if histType != history.Notice {
|
2113
|
2114
|
//TODO(dan): possibly implement cooldown of away notifications to users
|
2114
|
2115
|
if away, awayMessage := user.Away(); away {
|