diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 73e883173..e8234195f 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -538,7 +538,7 @@ wait_for_stream({xmlstreamstart, #xmlel{ns = NS, name = Name} = Opening}, end; _ -> case Name of - <<"policy-file-request">> -> + "policy-file-request" -> send_text(StateData, flash_policy_string()), {stop, normal, StateData}; _ ->