Skip to content

Commit 7dfbc1a

Browse files
committed
1 parent e84ce69 commit 7dfbc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luci-app-openclash/root/usr/share/openclash/yml_rules_change.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ yml_other_set()
809809
if '${10}' == '1' and ['url-test', 'load-balance'].include?(group['type']) then
810810
group['type'] = 'smart';
811811
group['uselightgbm'] = true if '${15}' == '1';
812-
group['strategy'] = '${13}';
812+
group['strategy'] = '${13}' if '${13}' != '0';
813813
group['collectdata'] = true if '${11}' == '1';
814814
group['sample-rate'] = '${12}'.to_f if '${11}' == '1';
815815
end;

0 commit comments

Comments
 (0)