mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
IRCClient: Connect to IRC server URL specified in command line argument
The IRCClient application can now connect to a specified IRC server using a URL with `irc://` protocol as a command line argument.
This commit is contained in:
parent
c3b2bfabfe
commit
3c9693c6c7
5 changed files with 39 additions and 10 deletions
|
@ -49,8 +49,8 @@ IRCAppWindow& IRCAppWindow::the()
|
|||
return *s_the;
|
||||
}
|
||||
|
||||
IRCAppWindow::IRCAppWindow()
|
||||
: m_client(IRCClient::construct())
|
||||
IRCAppWindow::IRCAppWindow(String server, int port)
|
||||
: m_client(IRCClient::construct(server, port))
|
||||
{
|
||||
ASSERT(!s_the);
|
||||
s_the = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue