Remove IRC buddies when leaving channel
This commit is contained in:
parent
718dd59fda
commit
2d3069e602
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,7 @@ public:
|
|||
|
||||
void removeAutoJoinChannel(const std::string &channel) {
|
||||
m_autoJoin.erase(channel);
|
||||
removeIRCBuddies(channel);
|
||||
}
|
||||
|
||||
void setIdentify(const std::string &identify) {
|
||||
|
@ -82,6 +83,10 @@ public:
|
|||
m_buddies[channel].erase(name);
|
||||
}
|
||||
|
||||
void removeIRCBuddies(const std::string &channel) {
|
||||
m_buddies.erase(channel);
|
||||
}
|
||||
|
||||
bool correctNickname(std::string &nickname);
|
||||
|
||||
void on_joined(IrcMessage *message);
|
||||
|
|
Loading…
Add table
Reference in a new issue