Possibility to change a channel's topic

This commit is contained in:
Florent Le Coz
2014-01-04 01:59:36 +01:00
parent e840704b58
commit fbec16f1a2
5 changed files with 17 additions and 0 deletions
+5
View File
@@ -122,6 +122,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_topic_command(const std::string& chan_name, const std::string& topic)
{
this->send_message(IrcMessage("TOPIC", {chan_name, topic}));
}
void IrcClient::send_quit_command()
{
this->send_message(IrcMessage("QUIT", {"gateway shutdown"}));