Fix syntax in Elixir config file

pull/2868/head
Mickael Remond 4 years ago
parent 8761e6e0e0
commit 6dac0a602e
No known key found for this signature in database
GPG Key ID: 40C24F21D564358A

@ -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

Loading…
Cancel
Save