author | Matthew Wild <mwild1@gmail.com> |
Wed, 25 Nov 2020 06:44:51 +0000 | |
changeset 4278 | 44e18454e1e0 |
parent 4277 | 8bf83e883593 |
child 4279 | bb111148d031 |
--- a/mod_admin_notify/mod_admin_notify.lua Tue Nov 24 01:52:33 2020 +0100 +++ b/mod_admin_notify/mod_admin_notify.lua Wed Nov 25 06:44:51 2020 +0000 @@ -4,7 +4,7 @@ local st = require "util.stanza"; local roles_store = module:open_store("roles", "map"); -local config_admins = module:get_option_inherited_set("admins") / jid.prep; +local config_admins = module:get_option_inherited_set("admins", {}) / jid.prep; local function append_host(username) return username.."@"..module.host;