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", language: "en",
allow_contrib_modules: true, allow_contrib_modules: true,
hosts: ["localhost"], hosts: ["localhost"],
shaper: shaper, shaper: shaper(),
acl: acl, acl: acl(),
access: access] access: access()]
end end
defp shaper do defp shaper do
@ -131,9 +131,10 @@ defmodule Ejabberd.ConfigFile do
module :mod_register do module :mod_register do
@opts [welcome_message: [ @opts [welcome_message: [
subject: "Welcome!", subject: "Welcome!",
body: "Hi.\nWelcome to this XMPP Server", body: "Hi.\nWelcome to this XMPP Server"
],
ip_access: :trusted_network, ip_access: :trusted_network,
access: :register]] access: :register]
end end
module :mod_roster do module :mod_roster do