From ed3caba999d35cd2d60025fa24ea2e6e7087b86b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 3 Feb 2017 01:39:32 -0800 Subject: [PATCH] This check was obviously backwards (OMG I'm dumb). --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index addc9418..4f90372c 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4865,7 +4865,7 @@ static _H 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]); -- 2.45.2