Changeset

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
parents 1809:36b82873b9cb
children 1811:4aa5e80d8ce3
files prosody.cfg.lua.dist
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 = {