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
@ -2182,10 +2182,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
}
|
}
|
||||||
echoMsg := &irc.Message{
|
echoMsg := &irc.Message{
|
||||||
Tags: echoTags,
|
Tags: echoTags,
|
||||||
Prefix: &irc.Prefix{
|
Prefix: &irc.Prefix{Name: uc.nick},
|
||||||
Name: uc.nick,
|
|
||||||
User: uc.username,
|
|
||||||
},
|
|
||||||
Command: msg.Command,
|
Command: msg.Command,
|
||||||
Params: []string{upstreamName, text},
|
Params: []string{upstreamName, text},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user