summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-02-13 03:39:13 +0100
committerlouiz’ <louiz@louiz.org>2018-02-13 03:39:13 +0100
commit50d3c4a0b20a4fde582d186e4c9a2226755b1a04 (patch)
tree0ce0a21043205dd513384e7dc8c9f3dc377a05b8 /src/xmpp
parentfd7c365288b9c4db1d441b553d42b26e81715b36 (diff)
downloadbiboumi-50d3c4a0b20a4fde582d186e4c9a2226755b1a04.tar.gz
biboumi-50d3c4a0b20a4fde582d186e4c9a2226755b1a04.tar.bz2
biboumi-50d3c4a0b20a4fde582d186e4c9a2226755b1a04.tar.xz
biboumi-50d3c4a0b20a4fde582d186e4c9a2226755b1a04.zip
Do not forget an early return, to return the correct item-not-found error
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 405ac15..75a55e6 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -472,6 +472,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
stanza_error.disable();
} catch (const Database::RecordNotFound& exc) {
error_name = "item-not-found";
+ return;
}
}
else if ((query = stanza.get_child("query", MUC_OWNER_NS)))