summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-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]);