Merge tag '7.1'

This commit is contained in:
louiz’ committed 2018-01-22 21:06:43 +01:00
commit de73a728f2
3 files changed
+9 -1

No files matched your search

+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";