Forward CTCP version request to XMPP

This commit is contained in:
Florent Le Coz
2014-05-06 22:50:37 +02:00
parent f35db5ceba
commit 5ec05cb0ed
5 changed files with 35 additions and 0 deletions
+2
View File
@@ -348,6 +348,8 @@ void IrcClient::on_channel_message(const IrcMessage& message)
if (body.substr(1, 6) == "ACTION")
this->bridge->send_message(iid, nick,
"/me"s + body.substr(7, body.size() - 8), muc);
else if (body.substr(1, 8) == "VERSION\01")
this->bridge->send_iq_version_request(nick, this->hostname);
}
else
this->bridge->send_message(iid, nick, body, muc);