*/README: Update compatibility info of modules still using legacy is_admin API
mod_admin_message
mod_admin_probe
mod_block_outgoing
mod_broadcast
mod_data_access
mod_muc_config_restrict
mod_muc_restrict_rooms
module:set_global();
local helpers = require "util.helpers";
local function init(module, events, name)
helpers.log_events(events, name, module._log);
function module.unload()
helpers.revert_log_events(events);
end
end
init(module, prosody.events, "global");
function module.add_host(module)
init(module, prosody.hosts[module.host].events, module.host);
end