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