diff options
author | Matthew Wild <mwild1@gmail.com> | 2019-03-19 09:08:56 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2019-03-19 09:08:56 +0000 |
commit | 992497531e9000cc9139a159cd21ea808e1b636e (patch) | |
tree | 5e0be0d553352b465f440f8f6eb0d99d5e9afe32 /plugins | |
parent | 755b5076441531a8c8b6f2b2ab831800768402ef (diff) | |
download | prosody-992497531e9000cc9139a159cd21ea808e1b636e.tar.gz prosody-992497531e9000cc9139a159cd21ea808e1b636e.zip |
mod_muc_mam: Set error status if loaded on incorrect host type
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_muc_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index d414a449..7d429482 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -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 |