summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebar.config2
-rw-r--r--src/ejabberd_config.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config
index f214482d..5b6676a1 100644
--- a/rebar.config
+++ b/rebar.config
@@ -11,7 +11,7 @@
{p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.3"}}},
{cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.2"}}},
{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.1"}}},
- {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.2"}}},
+ {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.3"}}},
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.3"}}},
{stun, ".*", {git, "https://github.com/processone/stun", {tag, "1.0.1"}}},
{esip, ".*", {git, "https://github.com/processone/esip", {tag, "1.0.2"}}},
diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl
index 6f7368b7..13b636c7 100644
--- a/src/ejabberd_config.erl
+++ b/src/ejabberd_config.erl
@@ -93,7 +93,7 @@ hosts_to_start(State) ->
-spec(start/2 :: (Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok).
start(Hosts, Opts) ->
mnesia_init(),
- set_opts(#state{hosts = Hosts, opts = Opts}).
+ set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})).
mnesia_init() ->
case catch mnesia:table_info(local_config, storage_type) of