mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
Update classical_strategy.go
This commit is contained in:
parent
cec0f3cebe
commit
6d0f80511e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func NewClassicalStrategy(parse func(tp, payload, target string, params []string
|
|||
return &classicalStrategy{rules: []C.Rule{}, parse: func(tp, payload, target string, params []string) (parsed C.Rule, parseErr error) {
|
||||
switch tp {
|
||||
case "MATCH", "RULE-SET", "SUB-RULE":
|
||||
return nil, fmt.Errorf("unsupported rule type on classical rule-set: (%s)", tp)
|
||||
return nil, fmt.Errorf("unsupported rule type on classical rule-set: %s", tp)
|
||||
default:
|
||||
return parse(tp, payload, target, params, nil)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue