Changeset - 2d3069e6029c
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-12-04 18:42:00
hanzz.k@gmail.com
Remove IRC buddies when leaving channel
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
backends/libcommuni/session.h
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)