QUIT the irc server when the last channel is left
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
/**
|
||||
* Send the QUIT irc command
|
||||
*/
|
||||
void send_quit_command();
|
||||
void send_quit_command(const std::string& reason);
|
||||
/**
|
||||
* Send a message to the gateway user, not generated by the IRC server,
|
||||
* but that might be useful because we want to be verbose (for example we
|
||||
@@ -186,6 +186,10 @@ public:
|
||||
*/
|
||||
void on_channel_mode(const IrcMessage& message);
|
||||
void on_quit(const IrcMessage& message);
|
||||
/**
|
||||
* Return the number of joined channels
|
||||
*/
|
||||
size_t number_of_joined_channels() const;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user