Don't send user in prefix for echo messages
This is not very useful and confuses clients.
This commit is contained in:
parent
b9e06e498e
commit
e44f4b2eee
@ -2181,11 +2181,8 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
||||
echoTags["account"] = irc.TagValue(uc.account)
|
||||
}
|
||||
echoMsg := &irc.Message{
|
||||
Tags: echoTags,
|
||||
Prefix: &irc.Prefix{
|
||||
Name: uc.nick,
|
||||
User: uc.username,
|
||||
},
|
||||
Tags: echoTags,
|
||||
Prefix: &irc.Prefix{Name: uc.nick},
|
||||
Command: msg.Command,
|
||||
Params: []string{upstreamName, text},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user