mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Use correct virtual host
This commit is contained in:
parent
8180bc22ee
commit
0d0ad9d1d9
1 changed files with 3 additions and 3 deletions
|
@ -255,9 +255,9 @@ s2s_out_packet(State, _) ->
|
|||
State.
|
||||
|
||||
-spec s2s_out_tls_verify(boolean(), ejabberd_s2s_out:state()) -> boolean().
|
||||
s2s_out_tls_verify(_, #{server := LServer, remote_server := RServer}) ->
|
||||
Access = mod_s2s_dialback_opt:access(LServer),
|
||||
case acl:match_rule(LServer, Access, jid:make(RServer)) of
|
||||
s2s_out_tls_verify(_, #{server_host := ServerHost, remote_server := RServer}) ->
|
||||
Access = mod_s2s_dialback_opt:access(ServerHost),
|
||||
case acl:match_rule(ServerHost, Access, jid:make(RServer)) of
|
||||
allow -> false;
|
||||
deny -> true
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue