1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

IRCClient: Crash if server name resolution fails.

This is just so that I can catch it immediately. It obviously needs a bit of
work to feel right.
This commit is contained in:
Andreas Kling 2019-04-02 20:42:59 +02:00
parent cc20eef7ef
commit 2580d4b911

View file

@ -59,7 +59,8 @@ void IRCAppWindow::setup_client()
m_client.set_server(input_box.text_value(), 6667);
update_title();
m_client.connect();
bool success = m_client.connect();
ASSERT(success);
}
void IRCAppWindow::setup_actions()