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
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),