diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-02-26 05:02:08 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-02-26 05:02:08 +0100 |
commit | c01befb054075ab414fd602859e5999a138aa5bf (patch) | |
tree | 37e521b9f3cc678d2cc994e2ec5f39da6ef79232 /src/irc/irc_client.cpp | |
parent | 6a2240f5935a4608e651a33c39219e912c9ea9ba (diff) | |
download | biboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.gz biboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.bz2 biboumi-c01befb054075ab414fd602859e5999a138aa5bf.tar.xz biboumi-c01befb054075ab414fd602859e5999a138aa5bf.zip |
Implement room discovery using the LIST irc command
ref #2472
Diffstat (limited to 'src/irc/irc_client.cpp')
-rw-r--r-- | src/irc/irc_client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index f83b48c..dedb5de 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -196,6 +196,11 @@ void IrcClient::send_kick_command(const std::string& chan_name, const std::strin this->send_message(IrcMessage("KICK", {chan_name, target, reason})); } +void IrcClient::send_list_command() +{ + this->send_message(IrcMessage("LIST", {})); +} + void IrcClient::send_topic_command(const std::string& chan_name, const std::string& topic) { this->send_message(IrcMessage("TOPIC", {chan_name, topic})); |