summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-15 04:56:50 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-15 04:56:50 +0200
commit5739d418e2b35dfc038fe1a12f8b5c7eeeed6868 (patch)
treee428fe413cf62850cb4dcda00bf1d753843177b6 /src/irc/irc_client.hpp
parent0d9c1ba31336f137202471841fd4fc7ca78a5c11 (diff)
downloadbiboumi-5739d418e2b35dfc038fe1a12f8b5c7eeeed6868.tar.gz
biboumi-5739d418e2b35dfc038fe1a12f8b5c7eeeed6868.tar.bz2
biboumi-5739d418e2b35dfc038fe1a12f8b5c7eeeed6868.tar.xz
biboumi-5739d418e2b35dfc038fe1a12f8b5c7eeeed6868.zip
Better way to leave the dummy room
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index 960d36f..811d416 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -198,6 +198,11 @@ public:
* Get a reference to the unique dummy channel
*/
DummyIrcChannel& get_dummy_channel();
+ /**
+ * Leave the dummy channel: forward a message to the user to indicate that
+ * he left it, and mark it as not joined.
+ */
+ void leave_dummy_channel(const std::string& exit_message);
const std::string& get_hostname() const { return this->hostname; }
std::string get_nick() const { return this->current_nick; }