aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-29 16:58:06 +0200
committerKim Alvefur <zash@zash.se>2018-03-29 16:58:06 +0200
commit36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7 (patch)
treec0994da18bdaa499566223d829c33c0009ae32b0 /core/storagemanager.lua
parent8760f89c36fa2e16c730b267bcaee8999bdbd9b5 (diff)
downloadprosody-36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7.tar.gz
prosody-36bdcaa99c41beece3985a80e9f4bbdfa86ef4c7.zip
core: Use prosody.hosts instead of _G.hosts for consistency
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index e5f48752..dea71733 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -7,12 +7,12 @@ local config = require "core.configmanager";
local datamanager = require "util.datamanager";
local modulemanager = require "core.modulemanager";
local multitable = require "util.multitable";
-local hosts = hosts;
local log = require "util.logger".init("storagemanager");
local async = require "util.async";
local debug = debug;
local prosody = prosody;
+local hosts = prosody.hosts;
local _ENV = nil;
-- luacheck: std none