mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:17:35 +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:
parent
cc20eef7ef
commit
2580d4b911
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ void IRCAppWindow::setup_client()
|
||||||
|
|
||||||
m_client.set_server(input_box.text_value(), 6667);
|
m_client.set_server(input_box.text_value(), 6667);
|
||||||
update_title();
|
update_title();
|
||||||
m_client.connect();
|
bool success = m_client.connect();
|
||||||
|
ASSERT(success);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRCAppWindow::setup_actions()
|
void IRCAppWindow::setup_actions()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue