summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-06 22:50:37 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-06 22:50:37 +0200
commit5ec05cb0edda6b01ff5c21a42edf9142b90399e5 (patch)
treed18e94ef0f8184a18e776defea1895343c597b83 /src/irc
parentf35db5cebaf1b9e267a7f2341699bb50fbc54c65 (diff)
downloadbiboumi-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.cpp2
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);