summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xmpp/adhoc_command.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/adhoc_command.cpp b/src/xmpp/adhoc_command.cpp
index 67bc706..e1bfc97 100644
--- a/src/xmpp/adhoc_command.cpp
+++ b/src/xmpp/adhoc_command.cpp
@@ -185,6 +185,7 @@ void DisconnectUserStep2(XmppComponent* xmpp_component, AdhocSession& session, X
note.set_inner(std::to_string(num) + " users have been disconnected.");
note.close();
command_node.add_child(std::move(note));
+ return;
}
}
XmlNode error(ADHOC_NS":error");