Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2019-04-12 11:40:46 +0300
committerMickael Remond <mremond@process-one.net>2019-04-12 11:40:46 +0300
commit6dac0a602e9b37fd43184301bf201602dd6ab0df (patch)
tree9bf809a41fba34e709793d557888befb152ecf61 /config
parent8761e6e0e044911dbe42295cee3d3f288b346b06 (diff)
Fix syntax in Elixir config file
Diffstat (limited to 'config')
-rw-r--r--config/ejabberd.exs11
1 files 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