Handle nick changes, both ways
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user