From 0f6bac30b894b4a562f72ccffdaa0411b6ac74f3 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Tue, 20 Apr 2021 16:17:01 +0200 Subject: [PATCH] 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. --- upstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstream.go b/upstream.go index 3eb4b90..5454309 100644 --- a/upstream.go +++ b/upstream.go @@ -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) }