Forward everything to all concerned XMPP resources
This commit is contained in:
@@ -31,6 +31,8 @@ public:
|
||||
IrcUser* find_user(const std::string& name) const;
|
||||
void remove_user(const IrcUser* user);
|
||||
void remove_all_users();
|
||||
const std::vector<std::unique_ptr<IrcUser>>& get_users() const
|
||||
{ return this->users; }
|
||||
|
||||
protected:
|
||||
std::unique_ptr<IrcUser> self;
|
||||
|
||||
@@ -701,7 +701,7 @@ void IrcClient::empty_motd(const IrcMessage&)
|
||||
|
||||
void IrcClient::on_empty_topic(const IrcMessage& message)
|
||||
{
|
||||
const std::string chan_name = utils::tolower(message.arguments[message.arguments.size() - 1]);
|
||||
const std::string chan_name = utils::tolower(message.arguments[1]);
|
||||
log_debug("empty topic for " << chan_name);
|
||||
IrcChannel* channel = this->get_channel(chan_name);
|
||||
if (channel)
|
||||
|
||||
Reference in New Issue
Block a user