diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-04-15 05:22:32 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-04-15 05:22:32 +0200 |
commit | 3bc6f1834738a1ee5a97580678ce204c0c215b71 (patch) | |
tree | 42e4ebb9e2e69f6d4ecbdc0582e5e4af86843a8e /src | |
parent | 14b6793d7fe78cfbab4f2686eb58e59d4f40338c (diff) | |
download | biboumi-3bc6f1834738a1ee5a97580678ce204c0c215b71.tar.gz biboumi-3bc6f1834738a1ee5a97580678ce204c0c215b71.tar.bz2 biboumi-3bc6f1834738a1ee5a97580678ce204c0c215b71.tar.xz biboumi-3bc6f1834738a1ee5a97580678ce204c0c215b71.zip |
Add an explanatory topic on the dummy channel
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc_client.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 55c442b..537b738 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -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() |