summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-15 05:22:32 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-15 05:22:32 +0200
commit3bc6f1834738a1ee5a97580678ce204c0c215b71 (patch)
tree42e4ebb9e2e69f6d4ecbdc0582e5e4af86843a8e /src/irc
parent14b6793d7fe78cfbab4f2686eb58e59d4f40338c (diff)
downloadbiboumi-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/irc')
-rw-r--r--src/irc/irc_client.cpp8
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()