chore: code cleanup

This commit is contained in:
wwqgtxx
2024-09-27 21:33:37 +08:00
parent af5ad3254b
commit a67c379884
6 changed files with 25 additions and 39 deletions

View File

@@ -445,12 +445,12 @@ func patchSelectGroup(proxies map[string]C.Proxy) {
}
for name, proxy := range proxies {
outbound, ok := proxy.(*adapter.Proxy)
outbound, ok := proxy.(C.Proxy)
if !ok {
continue
}
selector, ok := outbound.ProxyAdapter.(outboundgroup.SelectAble)
selector, ok := outbound.Adapter().(outboundgroup.SelectAble)
if !ok {
continue
}