24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Fix a recent commit

This commit is contained in:
Badlop 2011-12-08 12:55:50 +01:00
parent df2e050780
commit b03828d2f7

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