Better way to leave the dummy room

This commit is contained in:
Florent Le Coz
2014-04-15 04:56:50 +02:00
parent 0d9c1ba313
commit 5739d418e2
5 changed files with 26 additions and 2 deletions
+5
View File
@@ -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; }