Add ping timeout
FossilOrigin-Name: c17c999968cef18b167eff8385bba52e95765ad6f5e912b78eab34e0af71f76d
This commit is contained in:
parent
0dd8cdc46a
commit
a145344ad2
3 changed files with 66 additions and 4 deletions
|
@ -138,4 +138,11 @@ OF_APPLICATION_DELEGATE(TestApp)
|
|||
of_log(@"Users in %@: %@", channel,
|
||||
[connection usersInChannel: channel]);
|
||||
}
|
||||
|
||||
- (void)connectionWasClosed: (IRCConnection*)connection
|
||||
{
|
||||
of_log(@"Disconnected!");
|
||||
|
||||
[OFApplication terminate];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue