summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-03 01:39:32 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-03 01:39:32 -0800
commited3caba999d35cd2d60025fa24ea2e6e7087b86b (patch)
tree5dbd61cb5dbaa90c3273ab89dd8681b11a8c8e68
parent8c346d337c4b10013d1c81c39e4f3d526e9d3049 (diff)
This check was obviously backwards (OMG I'm dumb).v1.1.28%b14
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index addc941..4f90372 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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]);