mod_admin_notify: Fix traceback when no admins listed in config
--- 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;