Software /
code /
prosody
Changeset
9872:e1d68f32ce29
mod_muc_mam: Set error status if loaded on incorrect host type
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 19 Mar 2019 09:08:56 +0000 |
parents | 9871:744e08ac5596 |
children | 9873:dfaeea570f7e |
files | plugins/mod_muc_mam.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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