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
commit992497531e9000cc9139a159cd21ea808e1b636e (patch)
tree5e0be0d553352b465f440f8f6eb0d99d5e9afe32 /plugins/mod_muc_mam.lua
parent755b5076441531a8c8b6f2b2ab831800768402ef (diff)
downloadprosody-992497531e9000cc9139a159cd21ea808e1b636e.tar.gz
prosody-992497531e9000cc9139a159cd21ea808e1b636e.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