diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-12 16:05:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-12 16:05:08 +0100 |
commit | 4dbe36a6a0a07bba210e80326a6a87229f5767bf (patch) | |
tree | 840e56c3026da16932edcc0d3af717f019cbb462 /plugins/muc/mod_muc.lua | |
parent | fdfa7a51fa63176198c5edd355ab8de75cf375a6 (diff) | |
download | prosody-4dbe36a6a0a07bba210e80326a6a87229f5767bf.tar.gz prosody-4dbe36a6a0a07bba210e80326a6a87229f5767bf.zip |
MUC: Say something about storage failure before aborting (see #1091)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index b32515e8..0aa7fcee 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -39,6 +39,7 @@ local rooms = rooms; local persistent_rooms_storage = module:open_store("persistent"); local persistent_rooms, err = persistent_rooms_storage:get(); if not persistent_rooms then + module:log("error", "Error loading list of persistent rooms from storage. Reload mod_muc or restart to recover."); assert(not err, err); persistent_rooms = {}; end |