IRCClient: Add is_channel_prefix to check if string is a channel name

This commit is contained in:
Brendan Coles 2020-04-02 13:55:10 +00:00 committed by Andreas Kling
commit 6bf47252dc
Notes: sideshowbarker 2024-07-19 07:59:26 +09:00
2 changed files with 21 additions and 6 deletions

View file

@ -60,7 +60,8 @@ public:
void part_channel(const String&);
void change_nick(const String&);
bool is_nick_prefix(char) const;
static bool is_nick_prefix(char);
static bool is_channel_prefix(char);
IRCWindow* current_window() { return aid_get_active_window(); }
const IRCWindow* current_window() const { return aid_get_active_window(); }