1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

IRCClient: Allow CTCP replies to be user configurable in IRCClient.ini

This commit is contained in:
Brendan Coles 2020-04-05 12:32:08 +00:00 committed by Andreas Kling
parent bc40908d32
commit ddb8597c0c
3 changed files with 36 additions and 1 deletions

View file

@ -56,6 +56,10 @@ public:
String nickname() const { return m_nickname; }
String ctcp_version_reply() const { return m_ctcp_version_reply; }
String ctcp_userinfo_reply() const { return m_ctcp_userinfo_reply; }
String ctcp_finger_reply() const { return m_ctcp_finger_reply; }
void join_channel(const String&);
void part_channel(const String&);
void change_nick(const String&);
@ -198,6 +202,10 @@ private:
HashMap<String, RefPtr<IRCChannel>, CaseInsensitiveStringTraits> m_channels;
HashMap<String, RefPtr<IRCQuery>, CaseInsensitiveStringTraits> m_queries;
String m_ctcp_version_reply;
String m_ctcp_userinfo_reply;
String m_ctcp_finger_reply;
Vector<IRCWindow*> m_windows;
IRCWindow* m_server_subwindow { nullptr };