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:
parent
697bdd32dd
commit
03288d16f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user