Changeset 437 in code for trunk/downstream.go
- Timestamp:
- Dec 25, 2020, 12:35:20 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r435 r437 554 554 if dc.capVersion, err = strconv.Atoi(args[0]); err != nil { 555 555 return err 556 } 557 } 558 if !dc.registered && dc.capVersion >= 302 { 559 // Let downstream show everything it supports, and trim 560 // down the available capabilities when upstreams are 561 // known. 562 for k, v := range needAllDownstreamCaps { 563 dc.supportedCaps[k] = v 556 564 } 557 565 } … … 897 905 898 906 dc.updateNick() 907 dc.updateSupportedCaps() 899 908 900 909 dc.forEachUpstream(func(uc *upstreamConn) {
Note:
See TracChangeset
for help on using the changeset viewer.