diff --git a/src/IRCConnection.h b/src/IRCConnection.h index f459d0c..e4b9ca6 100644 --- a/src/IRCConnection.h +++ b/src/IRCConnection.h @@ -86,7 +86,7 @@ @property (assign) uint16_t port; @property (copy) OFString *nickname, *username, *realname; @property (assign) id delegate; -@property (readonly, retain, getter=socket) OFTCPSocket *sock; +@property (readonly, retain) OFTCPSocket *socket; #endif - (void)setServer: (OFString*)server; diff --git a/src/IRCConnection.m b/src/IRCConnection.m index e559aaa..46574d5 100644 --- a/src/IRCConnection.m +++ b/src/IRCConnection.m @@ -575,7 +575,7 @@ if (line != nil) { [self IRC_processLine: line]; [socket asyncReadLineWithTarget: self - selector: @selector(connection: + selector: @selector(socket: didReceiveLine: exception:)]; }