X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/7c8b58558998c9369bbf1953c49a883eabea5e73..a876619d0c610eaee6aa5e1a105106f265b2c084:/NetworkObject.m?ds=sidebyside diff --git a/NetworkObject.m b/NetworkObject.m index a29c3f5..8721e98 100755 --- a/NetworkObject.m +++ b/NetworkObject.m @@ -53,7 +53,7 @@ - (BOOL)requiresPassword { - return [[NSUserDefaults standardUserDefaults] boolForKey:@"enableSharingPassword"]; + return ([[[NSUserDefaults standardUserDefaults] dataForKey:@"sharedPlayerPassword"] length] > 0); } - (BOOL)sendPassword:(NSData *)password @@ -72,6 +72,11 @@ _valid = NO; } +- (void)makeValid +{ + _valid = YES; +} + - (BOOL)isValid { return _valid;