Fixed bug in IRCClientSession join method
This commit is contained in:
parent
5fa3aed5da
commit
9333d0d477
@ -255,7 +255,7 @@ static NSDictionary* ircNumericCodeList;
|
||||
|
||||
- (int)join:(NSData *)channel key:(NSData *)key
|
||||
{
|
||||
if (!key || !key.length > 0)
|
||||
if (!key || !(key.length > 0))
|
||||
{
|
||||
return irc_cmd_join(_irc_session, channel.SA_terminatedCString, NULL);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user