git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made it return a 1 or a 0 for a bool
[MenuTunes.git]
/
NetworkObject.m
diff --git
a/NetworkObject.m
b/NetworkObject.m
index
a29c3f5
..
8721e98
100755
(executable)
--- a/
NetworkObject.m
+++ b/
NetworkObject.m
@@
-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
@@
-72,6
+72,11
@@
_valid = NO;
}
_valid = NO;
}
+- (void)makeValid
+{
+ _valid = YES;
+}
+
- (BOOL)isValid
{
return _valid;
- (BOOL)isValid
{
return _valid;