Fix syntax in Elixir config file

This commit is contained in:
Mickael Remond 2019-04-12 10:40:46 +02:00
parent 8761e6e0e0
commit 6dac0a602e
No known key found for this signature in database
GPG Key ID: 40C24F21D564358A
1 changed files with 6 additions and 5 deletions

View File

@ -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()]
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]
module :mod_roster do