summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 4bfd1b2..8c364ee 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -418,7 +418,7 @@ void Bridge::send_irc_user_ping_request(const std::string& irc_hostname, const s
if (message.command == "NOTICE" && utils::tolower(user.nick) == nick &&
message.arguments.size() >= 2 && body.substr(0, 6) == "\01PING ")
{
- const std::string id = body.substr(6, body.size() - 6);
+ const std::string id = body.substr(6, body.size() - 7);
if (id != iq_id)
return false;
Jid jid(from_jid);