Changeset 223 in code
- Timestamp:
- Apr 5, 2020, 1:15:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user.go
r222 r223 240 240 241 241 uc.forEachDownstream(func(dc *downstreamConn) { 242 sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network. Name))242 sendServiceNOTICE(dc, fmt.Sprintf("connected to %s", uc.network.GetName())) 243 243 }) 244 244 uc.network.lastError = nil … … 260 260 if uc.network.lastError == nil { 261 261 uc.forEachDownstream(func(dc *downstreamConn) { 262 sendServiceNOTICE(dc, fmt.Sprintf("disconnected from %s", uc.network. Name))262 sendServiceNOTICE(dc, fmt.Sprintf("disconnected from %s", uc.network.GetName())) 263 263 }) 264 264 } … … 268 268 if net.lastError == nil || net.lastError.Error() != e.err.Error() { 269 269 net.forEachDownstream(func(dc *downstreamConn) { 270 sendServiceNOTICE(dc, fmt.Sprintf("failed connecting/registering to %s: %v", net. Name, e.err))270 sendServiceNOTICE(dc, fmt.Sprintf("failed connecting/registering to %s: %v", net.GetName(), e.err)) 271 271 }) 272 272 } … … 276 276 277 277 uc.forEachDownstream(func(dc *downstreamConn) { 278 sendServiceNOTICE(dc, fmt.Sprintf("disconnected from %s: %v", uc.network. Name, e.err))278 sendServiceNOTICE(dc, fmt.Sprintf("disconnected from %s: %v", uc.network.GetName(), e.err)) 279 279 }) 280 280 uc.network.lastError = e.err
Note:
See TracChangeset
for help on using the changeset viewer.