1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

IRCClient: Use new format functions.

This commit is contained in:
asynts 2020-10-06 14:16:35 +02:00 committed by Andreas Kling
parent d2ca7ca017
commit da9c995a8c
7 changed files with 35 additions and 29 deletions

View file

@ -134,7 +134,7 @@ void IRCClient::receive_from_server()
auto line = m_socket->read_line(PAGE_SIZE);
if (line.is_null()) {
if (!m_socket->is_connected()) {
out() << "IRCClient: Connection closed!";
outln("IRCClient: Connection closed!");
exit(1);
}
ASSERT_NOT_REACHED();