diff options
author | Brendan Coles <bcoles@gmail.com> | 2020-04-02 13:55:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-02 15:39:57 +0200 |
commit | 6bf47252dcb1442aeb2434a2c2260ef442aca800 (patch) | |
tree | 06dde348922cf165c45e7deb25631b60fede559d /Applications/IRCClient/IRCClient.h | |
parent | 57f72f29827b1842c4130611a724971c362de03f (diff) | |
download | serenity-6bf47252dcb1442aeb2434a2c2260ef442aca800.zip |
IRCClient: Add is_channel_prefix to check if string is a channel name
Diffstat (limited to 'Applications/IRCClient/IRCClient.h')
-rw-r--r-- | Applications/IRCClient/IRCClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Applications/IRCClient/IRCClient.h b/Applications/IRCClient/IRCClient.h index b9eadecbea..b462f69a91 100644 --- a/Applications/IRCClient/IRCClient.h +++ b/Applications/IRCClient/IRCClient.h @@ -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(); } |