Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 1810:7c45ae42923a
prosody.cfg.lua.dist: Add example of declaring admins for a server
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 21 Sep 2009 15:09:22 +0100 |
parent | 1548:b88b30c9e688 |
child | 2024:46a9c7c99476 |
comparison
equal
deleted
inserted
replaced
1809:36b82873b9cb | 1810:7c45ae42923a |
---|---|
29 -- The only thing left to do is rename this file to remove the .dist ending, and fill in the | 29 -- The only thing left to do is rename this file to remove the .dist ending, and fill in the |
30 -- blanks. Good luck, and happy Jabbering! | 30 -- blanks. Good luck, and happy Jabbering! |
31 | 31 |
32 -- Server-wide settings go in this section | 32 -- Server-wide settings go in this section |
33 Host "*" | 33 Host "*" |
34 | |
35 -- This is a (by default, empty) list of accounts that are admins | |
36 -- for the server. Note that you must create the accounts separately | |
37 -- (see http://prosody.im/doc/creating_accounts for info) | |
38 -- Example: admins = { "user1@example.com", "user2@example.net" } | |
39 admins = { } | |
34 | 40 |
35 -- This is the list of modules Prosody will load on startup. | 41 -- This is the list of modules Prosody will load on startup. |
36 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. | 42 -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too. |
37 modules_enabled = { | 43 modules_enabled = { |
38 -- Generally required | 44 -- Generally required |