From 5b055d7eecdfd901054ddda2490c3359c2bc6ccf Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 17 Aug 2018 18:42:09 +0300 Subject: [PATCH] Use "localhost" as a default host --- src/ejabberd_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index d47dc2892..f34c876eb 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -1130,7 +1130,7 @@ get_version() -> -spec get_myhosts() -> [binary()]. get_myhosts() -> - get_option(hosts). + get_option(hosts, [<<"localhost">>]). -spec get_myname() -> binary(). -- 2.40.0