mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-01 22:38:13 -05:00
fix selector
This commit is contained in:
parent
36bb5bd205
commit
a106959643
@ -106,7 +106,7 @@ func (s *Selector) AddNode(tag string, info *panel.NodeInfo, option *conf.Option
|
||||
|
||||
func (s *Selector) DelNode(tag string) error {
|
||||
if t, e := s.nodes.Load(tag); e {
|
||||
err := s.cores[t.(string)].DelNode(tag)
|
||||
err := t.(Core).DelNode(tag)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user