mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48:14 -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 {
|
func (s *Selector) DelNode(tag string) error {
|
||||||
if t, e := s.nodes.Load(tag); e {
|
if t, e := s.nodes.Load(tag); e {
|
||||||
err := s.cores[t.(string)].DelNode(tag)
|
err := t.(Core).DelNode(tag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user