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

IRCClient: Modernize Core::Object usage

This commit is contained in:
Andreas Kling 2020-02-23 09:29:35 +01:00
parent a70cc5ca1d
commit 8efafdfc12
4 changed files with 27 additions and 25 deletions

View file

@ -45,7 +45,6 @@ class IRCClient final : public Core::Object {
friend class IRCQuery;
public:
IRCClient();
virtual ~IRCClient() override;
void set_server(const String& hostname, int port = 6667);
@ -114,6 +113,8 @@ public:
void add_server_message(const String&, Color = Color::Black);
private:
IRCClient();
struct Message {
String prefix;
String command;