Upgrading MenuTunes to Xcode 2.1 and updating code
[MenuTunes.git] / NetworkObject.m
index 3c941dc..8721e98 100755 (executable)
@@ -53,7 +53,7 @@
 
 - (BOOL)requiresPassword
 {
 
 - (BOOL)requiresPassword
 {
-    return [[NSUserDefaults standardUserDefaults] boolForKey:@"enableSharingPassword"];
+    return ([[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length] > 0);
 }
 
 - (BOOL)sendPassword:(NSData *)password
 }
 
 - (BOOL)sendPassword:(NSData *)password