From 6f181acc6549c2a963cfa65e4b5eabf089522369 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 25 Jun 2014 22:34:33 +0200 Subject: =?UTF-8?q?Fix=20ad-hoc=20=E2=80=9Cdisconnect=20user=E2=80=9D=20co?= =?UTF-8?q?mmand.=20Do=20not=20add=20the=20=20on=20success?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xmpp/adhoc_command.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xmpp') 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"); -- cgit v1.2.3