Changeset 176 in code for trunk/upstream.go
- Timestamp:
- Mar 27, 2020, 11:07:20 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upstream.go
r175 r176 1228 1228 } 1229 1229 1230 func (uc *upstreamConn) SendMessageLabeled(d c *downstreamConn, msg *irc.Message) {1230 func (uc *upstreamConn) SendMessageLabeled(downstreamID uint64, msg *irc.Message) { 1231 1231 if uc.labelsSupported { 1232 1232 if msg.Tags == nil { 1233 1233 msg.Tags = make(map[string]irc.TagValue) 1234 1234 } 1235 msg.Tags["label"] = irc.TagValue(fmt.Sprintf("sd-%d-%d", d c.id, uc.nextLabelID))1235 msg.Tags["label"] = irc.TagValue(fmt.Sprintf("sd-%d-%d", downstreamID, uc.nextLabelID)) 1236 1236 uc.nextLabelID++ 1237 1237 }
Note:
See TracChangeset
for help on using the changeset viewer.