X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/086d6be5a155d0390ec1915350ad126c95a88416..82086d6a95408227f929ca149591c6fc3962f043:/NetworkObject.m?ds=sidebyside diff --git a/NetworkObject.m b/NetworkObject.m index 2d7207d..8721e98 100755 --- a/NetworkObject.m +++ b/NetworkObject.m @@ -53,7 +53,7 @@ - (BOOL)requiresPassword { - return [[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length]; + return ([[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length] > 0); } - (BOOL)sendPassword:(NSData *)password