Made it return a 1 or a 0 for a bool
[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