]> git.saurik.com Git - cydia.git/commitdiff
If you have cydia. access, get Token_.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 9 Mar 2011 15:34:27 +0000 (07:34 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 9 Mar 2011 15:34:27 +0000 (07:34 -0800)
MobileCydia.mm

index e44d82bdfbaf0db1cdf30f2f049c101269ec2cc4..776c31cefada61e26963eec3f50dd854beb5fd1d 100644 (file)
@@ -4309,7 +4309,7 @@ static _H<NSMutableSet> Diversions_;
 
     bool token;
     @synchronized (HostConfig_) {
-        token = [TokenHosts_ containsObject:host];
+        token = [TokenHosts_ containsObject:host] || [BridgedHosts_ containsObject:host];
     }
 
     if ([url isCydiaSecure] && token) {