From a747c732c043df9a7d4266d93c388cc2b6044de8 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Wed, 6 Jan 2021 16:46:54 +0100 Subject: [PATCH] Don't forward batch tags We don't want to have the batch tag when calling uc.produce, otherwise downstream will end up with junk batch ids. --- upstream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/upstream.go b/upstream.go index aaa3d1f..41e5ab8 100644 --- a/upstream.go +++ b/upstream.go @@ -365,6 +365,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error { if label == "" { label = msgBatch.Label } + delete(msg.Tags, "batch") } var downstreamID uint64 = 0