Software /
code /
prosody
Comparison
plugins/muc/mod_muc.lua @ 8178:9f2a5fc9e4a5
MUC: Log debug message when restoring a room from storage
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 06 Jul 2017 11:21:10 +0200 |
parent | 8026:f237d0155e59 |
child | 8179:c5fa7fe3fd79 |
comparison
equal
deleted
inserted
replaced
8170:627689c058aa | 8178:9f2a5fc9e4a5 |
---|---|
136 local function restore_room(jid) | 136 local function restore_room(jid) |
137 local node = jid_split(jid); | 137 local node = jid_split(jid); |
138 local data = room_configs:get(node); | 138 local data = room_configs:get(node); |
139 local state = room_state:get(node); | 139 local state = room_state:get(node); |
140 if data then | 140 if data then |
141 module:log("debug", "Restoring room %s from storage", jid); | |
141 local room = muclib.restore_room(data, state); | 142 local room = muclib.restore_room(data, state); |
142 track_room(room); | 143 track_room(room); |
143 return room; | 144 return room; |
144 end | 145 end |
145 end | 146 end |