Directly return self-messages to user in multi-upstream mode
This commit is contained in:
parent
68463d3e8b
commit
b3bc9614f8
@ -1674,6 +1674,11 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
tags := copyClientTags(msg.Tags)
|
tags := copyClientTags(msg.Tags)
|
||||||
|
|
||||||
for _, name := range strings.Split(targetsStr, ",") {
|
for _, name := range strings.Split(targetsStr, ",") {
|
||||||
|
if dc.network == nil && casemapASCII(name) == dc.nickCM {
|
||||||
|
dc.SendMessage(msg)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
if casemapASCII(name) == serviceNickCM {
|
if casemapASCII(name) == serviceNickCM {
|
||||||
if dc.caps["echo-message"] {
|
if dc.caps["echo-message"] {
|
||||||
echoTags := tags.Copy()
|
echoTags := tags.Copy()
|
||||||
|
Loading…
Reference in New Issue
Block a user