Skip to content

Commit

Permalink
outbounds: remove unused nil check for GetDefaultHandler (#2457)
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw authored Oct 21, 2023
1 parent 39d2f29 commit 442eb44
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/proxyman/outbound/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ func (m *Manager) GetDefaultHandler() outbound.Handler {
m.access.RLock()
defer m.access.RUnlock()

if m.defaultHandler == nil {
return nil
}
return m.defaultHandler
}

Expand Down

0 comments on commit 442eb44

Please sign in to comment.