mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-24 13:38:05 +08:00
chore: remove redundant code (#2355)
This commit is contained in:
@@ -449,12 +449,7 @@ func patchSelectGroup(proxies map[string]C.Proxy) {
|
||||
return
|
||||
}
|
||||
|
||||
for name, proxy := range proxies {
|
||||
outbound, ok := proxy.(C.Proxy)
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
|
||||
for name, outbound := range proxies {
|
||||
selector, ok := outbound.Adapter().(outboundgroup.SelectAble)
|
||||
if !ok {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user