- Timestamp:
- Apr 7, 2020, 8:30:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r245 r249 122 122 } 123 123 124 // marshalEntity converts an upstream entity name (ie. channel or nick) into a 125 // downstream entity name. 126 // 127 // This involves adding a "/<network>" suffix if the entity isn't the current 128 // user. 124 129 func (dc *downstreamConn) marshalEntity(uc *upstreamConn, entity string) string { 125 130 if uc.isChannel(entity) { … … 136 141 } 137 142 143 // unmarshalEntity converts a downstream entity name (ie. channel or nick) into 144 // an upstream entity name. 145 // 146 // This involves removing the "/<network>" suffix. 138 147 func (dc *downstreamConn) unmarshalEntity(name string) (*upstreamConn, string, error) { 139 148 if uc := dc.upstream(); uc != nil {
Note:
See TracChangeset
for help on using the changeset viewer.