summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCClient.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-10-06 14:16:35 +0200
committerAndreas Kling <kling@serenityos.org>2020-10-06 15:28:39 +0200
commitda9c995a8c634daa8f291740e840e876cc506339 (patch)
tree261e098d4c729455be6f37ed54e9dca6f316db2f /Applications/IRCClient/IRCClient.cpp
parentd2ca7ca017a1d5e3b524ceccf9dbbf4e826fbef5 (diff)
downloadserenity-da9c995a8c634daa8f291740e840e876cc506339.zip
IRCClient: Use new format functions.
Diffstat (limited to 'Applications/IRCClient/IRCClient.cpp')
-rw-r--r--Applications/IRCClient/IRCClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/IRCClient/IRCClient.cpp b/Applications/IRCClient/IRCClient.cpp
index 56f0be4c71..b31aff409f 100644
--- a/Applications/IRCClient/IRCClient.cpp
+++ b/Applications/IRCClient/IRCClient.cpp
@@ -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();