]> granicus.if.org Git - ejabberd/commitdiff
Fix syntax in Elixir config file
authorMickael Remond <mremond@process-one.net>
Fri, 12 Apr 2019 08:40:46 +0000 (10:40 +0200)
committerMickael Remond <mremond@process-one.net>
Fri, 12 Apr 2019 08:40:46 +0000 (10:40 +0200)
config/ejabberd.exs

index 7e1b99016af2797953ea3f94097e804068c06b43..f5f21cd5b9f738bd086c6f1cdd4f13f55ac88d08 100644 (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()]
   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