~singpolyma/biboumi

3bc6f1834738a1ee5a97580678ce204c0c215b71 — Florent Le Coz 8 years ago 14b6793
Add an explanatory topic on the dummy channel
1 files changed, 8 insertions(+), 0 deletions(-)

M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +8 -0
@@ 19,6 19,14 @@ IrcClient::IrcClient(const std::string& hostname, const std::string& username, B
  welcomed(false),
  chanmodes({"", "", "", ""})
{
  this->dummy_channel.topic = "This is a virtual channel provided for "
                              "convenience by biboumi, it is not connected "
                              "to any actual IRC channel of the server '" + this->hostname +
                              "', and sending messages in it has no effect. "
                              "Its main goal is to keep the connection to the IRC server "
                              "alive without having to join a real channel of that server. "
                              "To disconnect from the IRC server, leave this room and all "
                              "other IRC channels of that server.";
}

IrcClient::~IrcClient()