Drop TAGMSG in detached channels
- Do not relay TAGMSG as notices, - Do not reattach when a TAGMSG is received, - Do not reset the detach timer when a TAGMSG is received.
This commit is contained in:
parent
c8ccc641d9
commit
0f6bac30b8
@ -389,7 +389,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ch := uc.network.channels.Value(target)
|
ch := uc.network.channels.Value(target)
|
||||||
if ch != nil {
|
if ch != nil && msg.Command != "TAGMSG" {
|
||||||
if ch.Detached {
|
if ch.Detached {
|
||||||
uc.handleDetachedMessage(ch, msg)
|
uc.handleDetachedMessage(ch, msg)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user