~singpolyma/biboumi

6f181acc6549c2a963cfa65e4b5eabf089522369 — Florent Le Coz 10 years ago 524f792
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");