Permalink
Browse files

make sure to check for NSNull instead of nil

  • Loading branch information...
1 parent 82a4042 commit bb35717b3b3ba45fc14d0fb213cd206324f718fe Jeff Haynie committed Dec 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 iphone/modules/FacebookModule/FacebookModule.m
@@ -484,7 +484,7 @@ - (void)setup:(NSString*)key secret:(NSString*)secret proxy:(NSString*)proxy
dialog = nil;
[session release];
- if (proxy!=nil)
+ if ([proxy isKindOfClass:[NSString class]])
{
session = [[FBSession sessionForApplication:key getSessionProxy:proxy delegate:self] retain];
}

0 comments on commit bb35717

Please sign in to comment.