prosody.cfg.lua.dist: Add example of declaring admins for a server

Mon, 21 Sep 2009 15:09:22 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 21 Sep 2009 15:09:22 +0100
changeset 1809
7c45ae42923a
parent 1806
36b82873b9cb
child 1810
4aa5e80d8ce3

prosody.cfg.lua.dist: Add example of declaring admins for a server

prosody.cfg.lua.dist file | annotate | diff | comparison | revisions
--- a/prosody.cfg.lua.dist	Mon Sep 21 14:42:01 2009 +0100
+++ b/prosody.cfg.lua.dist	Mon Sep 21 15:09:22 2009 +0100
@@ -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 = {

mercurial