diff --git a/backends/libcommuni/session.h b/backends/libcommuni/session.h index c0e39a35e86714395b02304c17b93dd810ec81ac..b356b3dd61120f9063f6a6abebe25e0a32d42a93 100644 --- a/backends/libcommuni/session.h +++ b/backends/libcommuni/session.h @@ -78,6 +78,10 @@ public: return m_buddies[channel][name]; } + void removeIRCBuddy(const std::string &channel, const std::string &name) { + m_buddies[channel].erase(name); + } + bool correctNickname(std::string &nickname); void on_joined(IrcMessage *message);