diff --git a/Classes/IRC/IRCConnection.m b/Classes/IRC/IRCConnection.m index 2449213d66..0f572ee7a7 100755 --- a/Classes/IRC/IRCConnection.m +++ b/Classes/IRC/IRCConnection.m @@ -255,7 +255,7 @@ - (void)tcpClientDidReceiveData:(TCPClient *)sender while (1 == 1) { NSData *data = [conn readLine]; - if (NSObjectIsEmpty(data)) break; + if (data == nil) break; if ([delegate respondsToSelector:@selector(ircConnectionDidReceive:)]) { [delegate ircConnectionDidReceive:data];