~singpolyma/biboumi

cc1255d216bf7ac6029a5dd3bc8aadae06df446b — Florent Le Coz 9 years ago 7fe0dc2
Fix the way we check for the PING id
1 files changed, 1 insertions(+), 1 deletions(-)

M src/bridge/bridge.cpp
M src/bridge/bridge.cpp => src/bridge/bridge.cpp +1 -1
@@ 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);