aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-06 11:21:10 +0200
committerKim Alvefur <zash@zash.se>2017-07-06 11:21:10 +0200
commitebe2bfe792134d790197b2e6bd3201823a6a8946 (patch)
tree5bc22202ffed435d9bd002e7d094b7264f191ee0 /plugins/muc/mod_muc.lua
parent3ec2f588269bf5224d12f22fb9b0bd2c64d7db7d (diff)
downloadprosody-ebe2bfe792134d790197b2e6bd3201823a6a8946.tar.gz
prosody-ebe2bfe792134d790197b2e6bd3201823a6a8946.zip
MUC: Log debug message when restoring a room from storage
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 12b95b2c..ac7c1fde 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -138,6 +138,7 @@ local function restore_room(jid)
local data = room_configs:get(node);
local state = room_state:get(node);
if data then
+ module:log("debug", "Restoring room %s from storage", jid);
local room = muclib.restore_room(data, state);
track_room(room);
return room;