Add an ad-hoc command to disconnect a user from one or more IRC server
fix #3077
This commit is contained in:
@@ -690,3 +690,8 @@ void Bridge::trigger_on_irc_message(const std::string& irc_hostname, const IrcMe
|
||||
++it;
|
||||
}
|
||||
}
|
||||
|
||||
std::unordered_map<std::string, std::shared_ptr<IrcClient>>& Bridge::get_irc_clients()
|
||||
{
|
||||
return this->irc_clients;
|
||||
}
|
||||
|
||||
@@ -187,6 +187,7 @@ public:
|
||||
* iq_responder_callback_t and remove the callback from the list.
|
||||
*/
|
||||
void trigger_on_irc_message(const std::string& irc_hostname, const IrcMessage& message);
|
||||
std::unordered_map<std::string, std::shared_ptr<IrcClient>>& get_irc_clients();
|
||||
|
||||
private:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user