1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +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:
Brendan Coles 2020-04-22 21:57:45 +00:00 committed by Andreas Kling
parent c3b2bfabfe
commit 3c9693c6c7
5 changed files with 39 additions and 10 deletions

View file

@ -138,7 +138,7 @@ public:
void add_server_message(const String&, Color = Color::Black);
private:
IRCClient();
IRCClient(String server, int port);
struct Message {
String prefix;