Handle nickname changes.

FossilOrigin-Name: 7b1c2b91a430c3744d650d3305e867008bc8173de9ed6fdc208b4d7b1f736da9
This commit is contained in:
Jonathan Schleifer 2011-09-09 21:24:18 +00:00
parent ee29d6e973
commit 182774ba6c
3 changed files with 30 additions and 0 deletions

View file

@ -87,6 +87,13 @@ OF_APPLICATION_DELEGATE(TestApp)
of_log(@"%@ quit (%@).", user, reason);
}
- (void)connection: (IRCConnection*)connection
didSeeUser: (IRCUser*)user
changeNicknameTo: (OFString *)nickname
{
of_log(@"%@ changed nick to %@.", user, nickname);
}
- (void)connection: (IRCConnection*)connection
didReceiveMessage: (OFString*)msg
fromUser: (IRCUser*)user