diff options
author | louiz’ <louiz@louiz.org> | 2018-01-22 21:06:43 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-01-22 21:06:43 +0100 |
commit | de73a728f28df7db3fddd431b07ef5bf6742fb1a (patch) | |
tree | 06537615172ded994021f620a155bc4cc7e55109 /src | |
parent | 24b4a09d47829994157305cd5ef68a44ac7af27d (diff) | |
parent | 23e51e814f330ee06dc4dac29d1b2f328e8238b8 (diff) | |
download | biboumi-de73a728f28df7db3fddd431b07ef5bf6742fb1a.tar.gz biboumi-de73a728f28df7db3fddd431b07ef5bf6742fb1a.tar.bz2 biboumi-de73a728f28df7db3fddd431b07ef5bf6742fb1a.tar.xz biboumi-de73a728f28df7db3fddd431b07ef5bf6742fb1a.zip |
Merge tag '7.1'
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/adhoc_commands_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/adhoc_commands_handler.cpp b/src/xmpp/adhoc_commands_handler.cpp index e4dcd5c..bb48781 100644 --- a/src/xmpp/adhoc_commands_handler.cpp +++ b/src/xmpp/adhoc_commands_handler.cpp @@ -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"; |