瀏覽代碼

Fixed bug in IRCClientSession join method

master
Said Achmiz 9 年之前
父節點
當前提交
9333d0d477
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      IRCClient/IRCClientSession.m

+ 1
- 1
IRCClient/IRCClientSession.m 查看文件

@@ -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…
取消
儲存