Changeset 279 in code for trunk/service.go


Ignore:
Timestamp:
Apr 30, 2020, 8:25:16 AM (5 years ago)
Author:
contact
Message:

Remove network.upstream

This is an artifact from when we used locks. No need for this anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/service.go

    r271 r279  
    246246                var statuses []string
    247247                var details string
    248                 if uc := net.upstream(); uc != nil {
     248                if uc := net.conn; uc != nil {
    249249                        if dc.nick != uc.nick {
    250250                                statuses = append(statuses, "connected as "+uc.nick)
Note: See TracChangeset for help on using the changeset viewer.