mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
IRCClient: Add nick_without_prefix and nick_at helpers
`IRCChannelMemberListModel->nick_at` returns the nick name of a channel member at the specified index. `IRCClient->nick_without_prefix` returns a formatted nick name without privilege prefix.
This commit is contained in:
parent
66f7c8e0e8
commit
036fb4c621
5 changed files with 29 additions and 33 deletions
|
@ -66,6 +66,7 @@ public:
|
|||
|
||||
static bool is_nick_prefix(char);
|
||||
static bool is_channel_prefix(char);
|
||||
String nick_without_prefix(const String& nick);
|
||||
|
||||
IRCWindow* current_window() { return aid_get_active_window(); }
|
||||
const IRCWindow* current_window() const { return aid_get_active_window(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue