Fix ad-hoc “disconnect user” command. Do not add the <error/> on success
1 files changed, 1 insertions(+), 0 deletions(-) M src/xmpp/adhoc_command.cpp
M src/xmpp/adhoc_command.cpp => src/xmpp/adhoc_command.cpp +1 -0
@@ 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");