From: Badlop Date: Thu, 8 Dec 2011 11:55:50 +0000 (+0100) Subject: Fix a recent commit X-Git-Tag: v3.0.0-alpha-5~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b03828d2f721c7beed7a858f41774fa59082f38e;p=ejabberd Fix a recent commit --- diff --git a/src/ejabberd_s2s_in.erl b/src/ejabberd_s2s_in.erl index a0cf1a732..141db34bf 100644 --- a/src/ejabberd_s2s_in.erl +++ b/src/ejabberd_s2s_in.erl @@ -324,8 +324,8 @@ wait_for_feature_request({xmlstreamelement, El}, StateData) -> _ -> false end, + AllowRemoteHost = ejabberd_s2s:allow_host("", AuthDomain), if - AllowRemoteHost = ejabberd_s2s:allow_host("", AuthDomain), AuthRes andalso AllowRemoteHost -> (StateData#state.sockmod):reset_stream( StateData#state.socket),