Fix a recent commit

This commit is contained in:
Badlop 2011-12-08 12:55:50 +01:00
parent df2e050780
commit b03828d2f7
1 changed files with 1 additions and 1 deletions

View File

@ -324,8 +324,8 @@ wait_for_feature_request({xmlstreamelement, El}, StateData) ->
_ -> _ ->
false false
end, end,
AllowRemoteHost = ejabberd_s2s:allow_host("", AuthDomain),
if if
AllowRemoteHost = ejabberd_s2s:allow_host("", AuthDomain),
AuthRes andalso AllowRemoteHost -> AuthRes andalso AllowRemoteHost ->
(StateData#state.sockmod):reset_stream( (StateData#state.sockmod):reset_stream(
StateData#state.socket), StateData#state.socket),