Commit 82a3e429 authored by Mygod's avatar Mygod

Prevent syncing custom-rules

parent b4425e3b
......@@ -311,7 +311,7 @@ class ShadowsocksNatService extends BaseService {
handleConnection()
if (profile.route != Acl.ALL)
if (profile.route != Acl.ALL && profile.route != Acl.CUSTOM_RULES)
AclSyncJob.schedule(profile.route)
changeState(State.CONNECTED)
......
......@@ -145,7 +145,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
handleConnection()
changeState(State.CONNECTED)
if (profile.route != Acl.ALL)
if (profile.route != Acl.ALL && profile.route != Acl.CUSTOM_RULES)
AclSyncJob.schedule(profile.route)
notification = new ShadowsocksNotification(this, profile.getName)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment