Fix the case of the nick for ping requests

fix #3041
This commit is contained in:
Florent Le Coz
2015-05-11 05:31:11 +02:00
parent ad5bd99618
commit 7fe0dc2667
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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