Use the CHANTYPES values to differentiate channel or user notices It also happens to fix #2517 because this used to create buggy channels named "auth" and stuf like that.
1 files changed, 1 insertions(+), 1 deletions(-) M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +1 -1
@@ 245,7 245,7 @@ void IrcClient::on_notice(const IrcMessage& message) const std::string to = message.arguments[0]; const std::string body = message.arguments[1]; if (to == this->current_nick) if (!to.empty() && this->chantypes.find(to[0]) == this->chantypes.end()) this->bridge->send_xmpp_message(this->hostname, from, body); else {