]> git.saurik.com Git - cydia.git/blobdiff - MobileCydia.mm
This check was obviously backwards (OMG I'm dumb).
[cydia.git] / 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]);