Don't forward label tags

We don't want to have the label tag when calling uc.produce, otherwise
downstream will end up with junk labels.
This commit is contained in:
Hubert Hirtz 2021-05-20 15:43:21 +02:00 committed by Simon Ser
parent 697bdd32dd
commit 03288d16f1
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
var label string
if l, ok := msg.GetTag("label"); ok {
label = l
delete(msg.Tags, "label")
}
var msgBatch *batch