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 | ae6e05718a28782f2e1e20cac283d4ffbcc734dd (patch) | |
tree | 24cd50ad918363c7cfbed081508a2fd1a987fc73 | |
parent | c71bad7426ec99e391d6694501f0c069382d370b (diff) | |
download | prosody-ae6e05718a28782f2e1e20cac283d4ffbcc734dd.tar.gz prosody-ae6e05718a28782f2e1e20cac283d4ffbcc734dd.zip |
mod_mam/mamprefs: Use 'prosody.hosts' instead of '_G.hosts' in case we ever deprecate the later
-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"); |