aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2019-03-19 09:08:56 +0000
committerMatthew Wild <mwild1@gmail.com>2019-03-19 09:08:56 +0000
commit143c6bb57368837d9860a3f8a3678304689d5d46 (patch)
tree5e0be0d553352b465f440f8f6eb0d99d5e9afe32 /plugins/mod_muc_mam.lua
parent9fb58cf11f3de8f167a940c221d9a7b7a0c2da56 (diff)
downloadprosody-143c6bb57368837d9860a3f8a3678304689d5d46.tar.gz
prosody-143c6bb57368837d9860a3f8a3678304689d5d46.zip
mod_muc_mam: Set error status if loaded on incorrect host type
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua2
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