From 5cb10cf9faf22ae5947034d9e6cc38b5c49b6153 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 14 Apr 2010 20:53:05 +0200 Subject: [PATCH] Fix outgoing s2s --- src/ejabberd_s2s.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_s2s.erl b/src/ejabberd_s2s.erl index 7ae3651f2..f5946a416 100644 --- a/src/ejabberd_s2s.erl +++ b/src/ejabberd_s2s.erl @@ -532,7 +532,7 @@ allow_host1(MyHost, S2SHost) -> case ejabberd_config:get_local_option({s2s_default_policy, MyHost}) of 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 deny -> false; allow -> true;