Made it return a 1 or a 0 for a bool
[MenuTunes.git] / NetworkObject.m
index 3c941dc..8721e98 100755 (executable)
@@ -53,7 +53,7 @@
 
 - (BOOL)requiresPassword
 {
-    return [[NSUserDefaults standardUserDefaults] boolForKey:@"enableSharingPassword"];
+    return ([[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length] > 0);
 }
 
 - (BOOL)sendPassword:(NSData *)password