Changeset 745 in code for trunk/upstream.go
- Timestamp:
- Dec 6, 2021, 5:08:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upstream.go
r744 r745 1339 1339 } 1340 1340 1341 parts := strings.SplitN(trailing, " ", 2)1342 if len(parts) != 2 {1343 return fmt.Errorf("received malformed RPL_WHOREPLY: wrong trailing parameter: %s", trailing)1344 }1345 realname := parts[1]1346 hops, err := strconv.Atoi(parts[0])1347 if err != nil {1348 return fmt.Errorf("received malformed RPL_WHOREPLY: wrong hop count: %s", parts[0])1349 }1350 hops++1351 1352 trailing = strconv.Itoa(hops) + " " + realname1353 1354 1341 if channel != "*" { 1355 1342 channel = dc.marshalEntity(uc.network, channel)
Note:
See TracChangeset
for help on using the changeset viewer.