# HG changeset patch # User Matthew Wild # Date 1552986536 0 # Node ID e1d68f32ce29fd9706a1b22721fb380abd2fb528 # Parent 744e08ac5596b8a2c40ac0f3dbf4220bd63a1d29 mod_muc_mam: Set error status if loaded on incorrect host type diff -r 744e08ac5596 -r e1d68f32ce29 plugins/mod_muc_mam.lua --- a/plugins/mod_muc_mam.lua Tue Mar 19 09:08:33 2019 +0000 +++ b/plugins/mod_muc_mam.lua Tue Mar 19 09:08:56 2019 +0000 @@ -4,7 +4,7 @@ -- This file is MIT/X11 licensed. if module:get_host_type() ~= "component" then - module:log("error", "mod_%s should be loaded only on a MUC component, not normal hosts", module.name); + module:log_status("error", "mod_%s should be loaded only on a MUC component, not normal hosts", module.name); return; end