Merge tag '7.1'

This commit is contained in:
louiz’
2018-01-22 21:06:43 +01:00
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ XmlNode AdhocCommandsHandler::handle_request(const std::string& executor_jid, co
XmlSubNode next(actions, "next");
}
}
else if (action == "cancel")
else if (session_it != this->sessions.end() && action == "cancel")
{
this->sessions.erase(session_it);
command_node["status"] = "canceled";