Add ping timeout

FossilOrigin-Name: c17c999968cef18b167eff8385bba52e95765ad6f5e912b78eab34e0af71f76d
This commit is contained in:
Jonathan Schleifer 2017-01-22 23:01:49 +00:00
parent 0dd8cdc46a
commit a145344ad2
3 changed files with 66 additions and 4 deletions

View file

@ -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