diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-05-06 22:50:37 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-05-06 22:50:37 +0200 |
commit | 5ec05cb0edda6b01ff5c21a42edf9142b90399e5 (patch) | |
tree | d18e94ef0f8184a18e776defea1895343c597b83 /src/irc | |
parent | f35db5cebaf1b9e267a7f2341699bb50fbc54c65 (diff) | |
download | biboumi-5ec05cb0edda6b01ff5c21a42edf9142b90399e5.tar.gz biboumi-5ec05cb0edda6b01ff5c21a42edf9142b90399e5.tar.bz2 biboumi-5ec05cb0edda6b01ff5c21a42edf9142b90399e5.tar.xz biboumi-5ec05cb0edda6b01ff5c21a42edf9142b90399e5.zip |
Forward CTCP version request to XMPP
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index da5a947..5f70efb 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -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); |