Selaa lähdekoodia

Fixed bug in IRCClientSession join method

master
Said Achmiz 9 vuotta sitten
vanhempi
commit
9333d0d477
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      IRCClient/IRCClientSession.m

+ 1
- 1
IRCClient/IRCClientSession.m Näytä tiedosto

@@ -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…
Peruuta
Tallenna