mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Fix syntax in Elixir config file
This commit is contained in:
parent
8761e6e0e0
commit
6dac0a602e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user