summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc_client.cpp')
-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);