Handle nick changes, both ways

This commit is contained in:
Florent Le Coz
2013-11-11 00:24:34 +01:00
parent f0d9273da6
commit 096a4e3baf
6 changed files with 139 additions and 13 deletions
+9 -1
View File
@@ -44,6 +44,10 @@ public:
* Return the channel with this name, create it if it does not yet exist
*/
IrcChannel* get_channel(const std::string& name);
/**
* Returns true if the channel is joined
*/
bool is_channel_joined(const std::string& name);
/**
* Return our own nick
*/
@@ -67,7 +71,7 @@ public:
*/
void send_nick_command(const std::string& username);
/**
* Send the JOIN irc command
* Send the JOIN irc command.
*/
void send_join_command(const std::string& chan_name);
/**
@@ -118,6 +122,10 @@ public:
* When a PART message is received
*/
void on_part(const IrcMessage& message);
/**
* When a NICK message is received
*/
void on_nick(const IrcMessage& message);
/**
* When a QUIT message is received
*/