diff options
author | Kim Alvefur <zash@zash.se> | 2017-02-04 00:58:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-02-04 00:58:48 +0100 |
commit | 310110c75d32ca27d60b97c9fa1dccc9099584ad (patch) | |
tree | 24cd50ad918363c7cfbed081508a2fd1a987fc73 /plugins | |
parent | 187cb3ac5eb01b962afd5dab47d45be7e7c9d45b (diff) | |
download | prosody-310110c75d32ca27d60b97c9fa1dccc9099584ad.tar.gz prosody-310110c75d32ca27d60b97c9fa1dccc9099584ad.zip |
mod_mam/mamprefs: Use 'prosody.hosts' instead of '_G.hosts' in case we ever deprecate the later
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_mam/mamprefs.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mamprefs.lib.lua b/plugins/mod_mam/mamprefs.lib.lua index 054b6861..09efc006 100644 --- a/plugins/mod_mam/mamprefs.lib.lua +++ b/plugins/mod_mam/mamprefs.lib.lua @@ -22,7 +22,7 @@ do }; end -local sessions = hosts[module.host].sessions; +local sessions = prosody.hosts[module.host].sessions; local archive_store = module:get_option_string("archive_store", "archive"); local prefs = module:open_store(archive_store .. "_prefs"); |