]> git.saurik.com Git - cydia.git/commitdiff
This check was obviously backwards (OMG I'm dumb). v1.1.28%b14
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 3 Feb 2017 09:39:32 +0000 (01:39 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 3 Feb 2017 09:39:32 +0000 (01:39 -0800)
MobileCydia.mm

index addc9418f6ba0383348cf30df22c877e14870f6e..4f90372c400b5c7ff24fd928778c7e4f921dc34d 100644 (file)
@@ -4865,7 +4865,7 @@ static _H<NSMutableSet> Diversions_;
     auto database([Database sharedInstance]);
 
     // XXX: this check is less racy than you'd expect, but this entire concept is a little awkward
-    if ([database hasPackages])
+    if (![database hasPackages])
         return message;
 
     NSMutableArray *words([[[message componentsSeparatedByString:@" "] mutableCopy] autorelease]);