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:
Hubert Hirtz 2021-04-20 16:17:01 +02:00 committed by Simon Ser
parent c8ccc641d9
commit 0f6bac30b8
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
}
ch := uc.network.channels.Value(target)
if ch != nil {
if ch != nil && msg.Command != "TAGMSG" {
if ch.Detached {
uc.handleDetachedMessage(ch, msg)
}