diff options
author | louiz’ <louiz@louiz.org> | 2018-06-17 15:16:49 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-06-17 15:16:49 +0200 |
commit | 2f0e26db4cd91037463e5aa45c7538a942a9eee2 (patch) | |
tree | a06a8d0876f70fc9dc388fc7c3a81f5e434aeccd /src/irc/irc_client.hpp | |
parent | 354c738dc3cacd302d6961617fbc69e128572470 (diff) | |
download | biboumi-2f0e26db4cd91037463e5aa45c7538a942a9eee2.tar.gz biboumi-2f0e26db4cd91037463e5aa45c7538a942a9eee2.tar.bz2 biboumi-2f0e26db4cd91037463e5aa45c7538a942a9eee2.tar.xz biboumi-2f0e26db4cd91037463e5aa45c7538a942a9eee2.zip |
Channels’ disco#info includes the number of participants
fix #3311
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r-- | src/irc/irc_client.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp index fd97fe6..70046be 100644 --- a/src/irc/irc_client.hpp +++ b/src/irc/irc_client.hpp @@ -68,6 +68,10 @@ public: */ IrcChannel* get_channel(const std::string& name); /** + * Return the channel with this name. Nullptr if it is not found + */ + const IrcChannel* find_channel(const std::string& name) const; + /** * Returns true if the channel is joined */ bool is_channel_joined(const std::string& name); |