From b03828d2f721c7beed7a858f41774fa59082f38e Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 8 Dec 2011 12:55:50 +0100 Subject: [PATCH] Fix a recent commit --- src/ejabberd_s2s_in.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),