Add support for parsing NOTICE.
FossilOrigin-Name: e7642f3cbb58d7c120ba2282081d99b062d15acfbb2aeadadaa3e77886aa4b60
This commit is contained in:
parent
182774ba6c
commit
c4da72d924
3 changed files with 68 additions and 2 deletions
15
tests/test.m
15
tests/test.m
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue