Lots of code to keep MT from being bad when iTunes locks. Fixed leak in
[MenuTunes.git] / NetworkObject.m
index 2d7207d..8721e98 100755 (executable)
@@ -53,7 +53,7 @@
 
 - (BOOL)requiresPassword
 {
-    return [[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length];
+    return ([[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length] > 0);
 }
 
 - (BOOL)sendPassword:(NSData *)password