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
Notes: sideshowbarker 2024-07-19 14:51:05 +09:00

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()