Software /
code /
prosody
Diff
plugins/mod_server_contact_info.lua @ 9428:8e7feec95e8d
mod_server_contact_info: Comment on fallback to using 'admins'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 01 Oct 2018 23:46:10 +0200 |
parent | 9334:a86736e0163c |
child | 11010:6b27cb706b89 |
line wrap: on
line diff
--- a/plugins/mod_server_contact_info.lua Mon Oct 01 16:23:57 2018 +0100 +++ b/plugins/mod_server_contact_info.lua Mon Oct 01 23:46:10 2018 +0200 @@ -19,6 +19,7 @@ { name = "support", var = "support-addresses", type = "list-multi" }, }); +-- JIDs of configured service admins are used as fallback local admins = module:get_option_inherited_set("admins", {}); local contact_config = module:get_option("contact_info", {