Add support for parsing NOTICE.

FossilOrigin-Name: e7642f3cbb58d7c120ba2282081d99b062d15acfbb2aeadadaa3e77886aa4b60
This commit is contained in:
Jonathan Schleifer 2011-09-10 13:10:59 +00:00
parent 182774ba6c
commit c4da72d924
3 changed files with 68 additions and 2 deletions

View file

@ -108,4 +108,19 @@ OF_APPLICATION_DELEGATE(TestApp)
{
of_log(@"(%@): %@", user, msg);
}
- (void)connection: (IRCConnection*)connection
didReceiveNotice: (OFString*)notice
fromUser: (IRCUser*)user
{
of_log(@"NOTICE: (%@): %@", user, notice);
}
- (void)connection: (IRCConnection*)connection
didReceiveNotice: (OFString*)notice
fromUser: (IRCUser*)user
inChannel: (IRCChannel*)channel
{
of_log(@"NOTICE: [%@] %@: %@", channel, user, notice);
}
@end