diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index f1d8b3287..2cfeab38b 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -369,7 +369,6 @@ wait_for_stream({xmlstreamstart, #xmlel{ns = NS} = Opening}, StateData) -> send_trailer(StateData), {stop, normal, StateData}; true -> - send_element(StateData, Header), fsm_next_state(wait_for_auth, StateData#state{ server = ServerB,