diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-05-11 05:31:11 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-05-11 05:31:11 +0200 |
commit | 7fe0dc2667229287ab9f1825e84403a25bc863fe (patch) | |
tree | 216621cb41a5db87026d594c5ffc1cacd76bb785 /src/irc | |
parent | ad5bd99618fd4f1ee92d48d90912d627187aaa11 (diff) | |
download | biboumi-7fe0dc2667229287ab9f1825e84403a25bc863fe.tar.gz biboumi-7fe0dc2667229287ab9f1825e84403a25bc863fe.tar.bz2 biboumi-7fe0dc2667229287ab9f1825e84403a25bc863fe.tar.xz biboumi-7fe0dc2667229287ab9f1825e84403a25bc863fe.zip |
Fix the case of the nick for ping requests
fix #3041
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 7dcda8e..5f6aaaf 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -452,7 +452,7 @@ void IrcClient::on_channel_message(const IrcMessage& message) else if (body.substr(1, 8) == "VERSION\01") this->bridge->send_iq_version_request(nick, this->hostname); else if (body.substr(1, 5) == "PING ") - this->bridge->send_xmpp_ping_request(nick, this->hostname, + this->bridge->send_xmpp_ping_request(utils::tolower(nick), this->hostname, body.substr(6, body.size() - 7)); } else |