From 6dac0a602e9b37fd43184301bf201602dd6ab0df Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Fri, 12 Apr 2019 10:40:46 +0200 Subject: [PATCH] Fix syntax in Elixir config file --- config/ejabberd.exs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/ejabberd.exs b/config/ejabberd.exs index 7e1b99016..f5f21cd5b 100644 --- a/config/ejabberd.exs +++ b/config/ejabberd.exs @@ -12,9 +12,9 @@ defmodule Ejabberd.ConfigFile do language: "en", allow_contrib_modules: true, hosts: ["localhost"], - shaper: shaper, - acl: acl, - access: access] + shaper: shaper(), + acl: acl(), + access: access()] end defp shaper do @@ -131,9 +131,10 @@ defmodule Ejabberd.ConfigFile do module :mod_register do @opts [welcome_message: [ subject: "Welcome!", - body: "Hi.\nWelcome to this XMPP Server", + body: "Hi.\nWelcome to this XMPP Server" + ], ip_access: :trusted_network, - access: :register]] + access: :register] end module :mod_roster do