aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit134411e3e4c81c257b7d3382b86ec69583a92525 (patch)
tree5bc22202ffed435d9bd002e7d094b7264f191ee0 /plugins
parent2a0d99b07b5da18a676dd8b6497e53c13f3badc1 (diff)
downloadprosody-134411e3e4c81c257b7d3382b86ec69583a92525.tar.gz
prosody-134411e3e4c81c257b7d3382b86ec69583a92525.zip
MUC: Log debug message when restoring a room from storage
Diffstat (limited to 'plugins')
-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;