aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-21 15:09:22 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-21 15:09:22 +0100
commita4e1ea92f6aaea0f107f124a4bafc9676189da59 (patch)
tree3c0bd7d2d0eaf83b628f94f5cca7e5cc585e2616
parent334b002da3b5340f8f618bc8f4e21d876dad2982 (diff)
downloadprosody-a4e1ea92f6aaea0f107f124a4bafc9676189da59.tar.gz
prosody-a4e1ea92f6aaea0f107f124a4bafc9676189da59.zip
prosody.cfg.lua.dist: Add example of declaring admins for a server
-rw-r--r--prosody.cfg.lua.dist6
1 files changed, 6 insertions, 0 deletions
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index 38618131..de460956 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -32,6 +32,12 @@
-- Server-wide settings go in this section
Host "*"
+ -- This is a (by default, empty) list of accounts that are admins
+ -- for the server. Note that you must create the accounts separately
+ -- (see http://prosody.im/doc/creating_accounts for info)
+ -- Example: admins = { "user1@example.com", "user2@example.net" }
+ admins = { }
+
-- This is the list of modules Prosody will load on startup.
-- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.
modules_enabled = {