Add support for parsing KICK.

FossilOrigin-Name: 6f062f71896107c8ddd1d66fd649f6e7d15e0b6704072eb28bc9ba00582bd4e8
This commit is contained in:
Jonathan Schleifer 2011-09-10 13:40:48 +00:00
parent c4da72d924
commit b0ef070c32
3 changed files with 47 additions and 0 deletions

View file

@ -80,6 +80,15 @@ OF_APPLICATION_DELEGATE(TestApp)
of_log(@"%@ left %@ (%@).", user, channel, reason);
}
- (void)connection: (IRCConnection*)connection
didSeeUser: (IRCUser*)user
kickUser: (OFString*)kickedUser
fromChannel: (IRCChannel*)channel
withReason: (OFString*)reason
{
of_log(@"%@ kicked %@ from %@: %@", user, kickedUser, channel, reason);
}
- (void)connection: (IRCConnection*)connection
didSeeUserQuit: (IRCUser*)user
withReason: (OFString*)reason