mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-06 06:33:31 +03:00
Fix: rules parse (#568)
This commit is contained in:
parent
d8a771916a
commit
14d5137703
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ func parseRules(cfg *RawConfig, proxies map[string]C.Proxy) ([]C.Rule, error) {
|
|||
rulesConfig := cfg.Rule
|
||||
|
||||
// remove after 1.0
|
||||
if len(rules) == 0 {
|
||||
if len(rulesConfig) == 0 {
|
||||
rulesConfig = cfg.RuleOld
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue