Add PROSODY_ADMINS to specify who is an administrator. Fixes #7

This commit is contained in:
Sara Aimée Smiseth 2020-06-26 17:34:24 +02:00
parent 20b7d7258d
commit 2500028412
4 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
-- see example config at https://hg.prosody.im/0.9/file/0.9.10/prosody.cfg.lua.dist
-- easily extendable by putting into different config files within conf.d folder
admins = {};
admins = { os.getenv("PROSODY_ADMINS") };
use_libevent = true; -- improves performance