Diff

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
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 = {