25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix outgoing s2s

This commit is contained in:
Badlop 2010-04-14 20:53:05 +02:00
parent 3259c1c2ea
commit 5cb10cf9fa

View File

@ -532,7 +532,7 @@ allow_host1(MyHost, S2SHost) ->
case ejabberd_config:get_local_option({s2s_default_policy, MyHost}) of case ejabberd_config:get_local_option({s2s_default_policy, MyHost}) of
deny -> false; deny -> false;
_ -> _ ->
case ejabberd_hooks:run_fold(s2s_allow_host, MyHost, case ejabberd_hooks:run_fold(s2s_allow_host, list_to_binary(MyHost),
allow, [MyHost, S2SHost]) of allow, [MyHost, S2SHost]) of
deny -> false; deny -> false;
allow -> true; allow -> true;